/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 8b4af0a
 * Options:   --bitfields --packed-struct --output test6795.c
 * Seed:      2445317996413609583
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static int32_t g_9 = 5L;
static uint8_t g_24 = 0xAFL;
static volatile int32_t g_63[4] = {(-1L),(-1L),(-1L),(-1L)};
static int32_t g_64 = 0xE6139440L;
static int32_t g_65 = 0x4D43D039L;
static int32_t g_67 = 0x47AFAE86L;
static int32_t * const  volatile g_66 = &g_67;/* VOLATILE GLOBAL g_66 */
static int32_t *g_70 = &g_65;
static int32_t ** volatile g_69 = &g_70;/* VOLATILE GLOBAL g_69 */
static uint8_t g_75 = 0x01L;
static uint32_t g_80 = 0UL;
static int8_t g_108 = 0x60L;
static uint8_t g_129[10][5] = {{0x60L,0UL,0UL,246UL,253UL},{0UL,0UL,5UL,0UL,5UL},{0UL,0UL,0x04L,0x6FL,5UL},{0x94L,0UL,253UL,255UL,0x04L},{0xFBL,0UL,5UL,1UL,0UL},{0x60L,0UL,0UL,246UL,253UL},{0UL,0UL,5UL,0UL,5UL},{0UL,0UL,0x04L,0x6FL,5UL},{0x94L,0UL,3UL,0xC2L,0UL},{0UL,0x04L,250UL,0xD1L,0x22L}};
static int64_t g_156 = 0x7E9961A22EE4FF99LL;
static int16_t g_157 = 0x38F4L;
static uint16_t g_162 = 0x0BE4L;
static uint64_t g_166 = 18446744073709551615UL;
static int8_t g_168 = 0xA3L;
static int8_t *g_199 = &g_168;
static int8_t * const *g_198 = &g_199;
static volatile int16_t g_222[4] = {0x935DL,0x935DL,0x935DL,0x935DL};
static uint16_t g_240 = 6UL;
static uint32_t g_259[5][4] = {{0x616943C4L,0x616943C4L,0UL,0x616943C4L},{0x616943C4L,7UL,7UL,0x616943C4L},{7UL,0x616943C4L,7UL,7UL},{0x616943C4L,0x616943C4L,0UL,0x616943C4L},{0x616943C4L,7UL,7UL,0x616943C4L}};
static uint8_t * volatile *g_277 = (void*)0;
static int16_t g_386[9] = {0x2151L,0x2151L,0x2151L,0x2151L,0x2151L,0x2151L,0x2151L,0x2151L,0x2151L};
static const uint8_t g_453 = 0x4FL;
static volatile int16_t g_482 = 1L;/* VOLATILE GLOBAL g_482 */
static int64_t *g_500 = &g_156;
static int64_t * volatile *g_499[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static uint32_t *g_643 = &g_259[3][1];
static uint32_t **g_642 = &g_643;
static uint32_t ***g_641 = &g_642;
static const int32_t *g_661[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static const int32_t ** volatile g_660[5][3] = {{&g_661[2],&g_661[5],&g_661[2]},{&g_661[1],&g_661[1],&g_661[1]},{&g_661[2],&g_661[5],&g_661[2]},{&g_661[1],&g_661[1],&g_661[1]},{&g_661[2],&g_661[5],&g_661[2]}};
static const int32_t ** volatile g_662 = &g_661[1];/* VOLATILE GLOBAL g_662 */
static uint32_t g_683 = 0xCFADAC28L;
static uint32_t * const g_682 = &g_683;
static uint32_t * const *g_681[1] = {&g_682};
static uint32_t * const **g_680 = &g_681[0];
static uint32_t * const ***g_679[7][3] = {{&g_680,&g_680,(void*)0},{&g_680,&g_680,&g_680},{&g_680,&g_680,(void*)0},{&g_680,&g_680,&g_680},{&g_680,&g_680,(void*)0},{&g_680,&g_680,&g_680},{&g_680,&g_680,(void*)0}};
static int32_t ** volatile g_694 = &g_70;/* VOLATILE GLOBAL g_694 */
static uint8_t *g_746 = (void*)0;
static uint8_t **g_745 = &g_746;
static volatile int16_t g_761 = 0x40EBL;/* VOLATILE GLOBAL g_761 */
static volatile uint32_t g_762 = 18446744073709551609UL;/* VOLATILE GLOBAL g_762 */
static uint32_t g_765 = 1UL;
static int8_t g_772 = 0x25L;
static int32_t g_774[9] = {0xE0422D6EL,0xE0422D6EL,0x50224D02L,0xE0422D6EL,0xE0422D6EL,0x50224D02L,0xE0422D6EL,0xE0422D6EL,0x50224D02L};
static uint64_t g_808 = 9UL;
static volatile uint16_t g_861 = 5UL;/* VOLATILE GLOBAL g_861 */
static int32_t g_879[4][5] = {{0xB9A5FDC8L,(-1L),0xB9A5FDC8L,(-1L),0xB9A5FDC8L},{0L,0L,0x80B12D62L,0x80B12D62L,0L},{0x8EA944E0L,(-1L),0x8EA944E0L,(-1L),0x8EA944E0L},{0L,0x80B12D62L,0x80B12D62L,0L,0L}};
static int64_t g_915 = 0x18779C33AF0AB07ELL;
static uint32_t g_1013 = 4294967295UL;
static uint16_t * volatile *g_1050 = (void*)0;
static uint32_t *g_1065 = &g_80;
static uint32_t **g_1064[7] = {&g_1065,(void*)0,&g_1065,&g_1065,(void*)0,&g_1065,&g_1065};
static uint32_t **g_1067[1][4] = {{&g_1065,&g_1065,&g_1065,&g_1065}};
static uint16_t g_1081 = 0xF70CL;
static int64_t g_1167 = 1L;
static uint16_t *g_1211 = &g_240;
static uint16_t * const *g_1210 = &g_1211;
static uint32_t ****g_1299 = &g_641;
static uint32_t ***** volatile g_1298 = &g_1299;/* VOLATILE GLOBAL g_1298 */
static int32_t ** volatile g_1397[10][6] = {{&g_70,&g_70,&g_70,&g_70,&g_70,&g_70},{(void*)0,&g_70,&g_70,(void*)0,&g_70,&g_70},{&g_70,(void*)0,&g_70,(void*)0,&g_70,&g_70},{(void*)0,&g_70,&g_70,&g_70,&g_70,(void*)0},{&g_70,(void*)0,&g_70,&g_70,&g_70,(void*)0},{&g_70,&g_70,&g_70,&g_70,&g_70,&g_70},{&g_70,&g_70,&g_70,&g_70,&g_70,&g_70},{&g_70,&g_70,&g_70,&g_70,&g_70,&g_70},{(void*)0,&g_70,&g_70,(void*)0,&g_70,&g_70},{&g_70,(void*)0,&g_70,(void*)0,&g_70,&g_70}};
static int32_t ** const  volatile g_1398 = &g_70;/* VOLATILE GLOBAL g_1398 */
static uint16_t **g_1484[3] = {&g_1211,&g_1211,&g_1211};
static int32_t ** volatile g_1493 = &g_70;/* VOLATILE GLOBAL g_1493 */
static int32_t ** volatile g_1510 = &g_70;/* VOLATILE GLOBAL g_1510 */
static int8_t ** const *** volatile g_1514 = (void*)0;/* VOLATILE GLOBAL g_1514 */
static int8_t ** const g_1518 = (void*)0;
static int8_t ** const *g_1517 = &g_1518;
static int8_t ** const **g_1516 = &g_1517;
static int8_t ** const *** volatile g_1515 = &g_1516;/* VOLATILE GLOBAL g_1515 */
static int32_t ** volatile g_1539 = &g_70;/* VOLATILE GLOBAL g_1539 */
static int32_t * volatile g_1564 = &g_67;/* VOLATILE GLOBAL g_1564 */
static volatile uint64_t g_1618[1][7] = {{0x3B5812C1B1B323FALL,18446744073709551615UL,18446744073709551615UL,0x3B5812C1B1B323FALL,18446744073709551615UL,18446744073709551615UL,0x3B5812C1B1B323FALL}};
static int16_t g_1636 = 1L;
static const int8_t *g_1662 = &g_772;
static const int8_t **g_1661[8] = {&g_1662,&g_1662,&g_1662,&g_1662,&g_1662,&g_1662,&g_1662,&g_1662};
static const int8_t ***g_1660 = &g_1661[2];
static const int8_t ****g_1659 = &g_1660;
static int32_t ** volatile g_1669 = (void*)0;/* VOLATILE GLOBAL g_1669 */
static uint8_t * volatile * const  volatile * const  volatile *g_1681 = (void*)0;
static int32_t g_1721 = 0x5E2EC26FL;
static volatile int32_t g_1780 = 1L;/* VOLATILE GLOBAL g_1780 */
static int64_t **g_1808 = &g_500;
static int64_t ***g_1807 = &g_1808;
static uint32_t g_1812 = 0xB22CC727L;
static uint32_t **g_1813 = (void*)0;
static const int32_t *g_1817 = &g_65;
static const int32_t ** volatile g_1816 = &g_1817;/* VOLATILE GLOBAL g_1816 */
static int8_t g_1852 = 0xB1L;
static uint16_t g_1936 = 1UL;
static uint16_t g_2004 = 65535UL;


/* --- FORWARD DECLARATIONS --- */
static uint8_t  func_1(void);
static int32_t * func_2(int32_t * p_3, int16_t  p_4);
static int32_t * func_5(int32_t * p_6, int32_t * p_7);
static int32_t * func_10(int32_t  p_11);
static uint32_t  func_15(uint8_t  p_16, const int32_t * p_17, int32_t * p_18, uint64_t  p_19);
static uint8_t  func_20(uint32_t  p_21, uint32_t  p_22, int32_t  p_23);
static uint16_t  func_27(uint8_t  p_28);
static uint16_t  func_33(int32_t * p_34, int32_t * p_35, uint64_t  p_36, int64_t  p_37, int32_t * p_38);
static int32_t * func_44(uint32_t  p_45, const uint8_t  p_46, uint8_t  p_47, uint8_t  p_48);
static uint16_t  func_53(int32_t  p_54, int16_t  p_55, int32_t * p_56, int8_t  p_57);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_24 g_9 g_64 g_65 g_66 g_67 g_69 g_75 g_63 g_80 g_70 g_129 g_157 g_156 g_168 g_108 g_222 g_240 g_259 g_277 g_198 g_199 g_166 g_162 g_386 g_499 g_500 g_482 g_641 g_662 g_661 g_694 g_745 g_762 g_765 g_772 g_774 g_761 g_808 g_682 g_683 g_861 g_879 g_915 g_642 g_643 g_1050 g_1081 g_1065 g_1210 g_1211 g_1298 g_1398 g_1807 g_1808 g_1167 g_1299 g_1516 g_1517 g_1518 g_2004 g_1936
 * writes: g_64 g_65 g_67 g_70 g_75 g_80 g_108 g_129 g_63 g_156 g_157 g_166 g_168 g_198 g_240 g_259 g_386 g_162 g_641 g_661 g_679 g_745 g_762 g_772 g_808 g_683 g_861 g_915 g_199 g_1013 g_765 g_1064 g_1067 g_1081 g_1167 g_1210 g_1299 g_500 g_9 g_24
 */
static uint8_t  func_1(void)
{ /* block id: 0 */
    int32_t *l_8 = &g_9;
    int32_t *l_12 = &g_9;
    int32_t l_773 = 1L;
    int16_t l_1344 = (-1L);
    int8_t l_1413 = 1L;
    uint64_t l_1414[4][2][5] = {{{1UL,1UL,1UL,1UL,1UL},{0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL}},{{1UL,1UL,1UL,1UL,1UL},{0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL}},{{1UL,1UL,1UL,1UL,1UL},{0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL}},{{1UL,1UL,1UL,1UL,1UL},{0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL,0x3FECA475E6C1F764LL}}};
    uint32_t l_1450 = 0x7B63103AL;
    uint16_t **l_1482 = &g_1211;
    int8_t ** const l_1513 = (void*)0;
    int8_t ** const *l_1512 = &l_1513;
    int8_t ** const **l_1511 = &l_1512;
    uint8_t ***l_1584 = &g_745;
    uint32_t ****l_1675 = &g_641;
    uint32_t ****l_1680 = &g_641;
    int32_t *l_1685[3][6] = {{&g_67,&g_67,&g_67,&g_67,&g_67,&g_67},{&g_67,&g_67,&g_67,&g_67,&g_67,&g_67},{&g_67,&g_67,&g_67,&g_67,&g_67,&g_67}};
    int32_t l_1686[1];
    uint32_t l_1761 = 0xC1F406D5L;
    int32_t l_1819 = 3L;
    uint8_t l_1871[10][7][3] = {{{9UL,1UL,0xA3L},{9UL,0xD3L,0x16L},{0x16L,253UL,0xD3L},{0UL,6UL,1UL},{0x77L,254UL,1UL},{0xD3L,0x9EL,0xD3L},{252UL,0x22L,0x16L}},{{0x01L,255UL,0xA3L},{5UL,9UL,0UL},{1UL,0x77L,0xD9L},{5UL,0xE3L,0UL},{0x01L,0x79L,246UL},{252UL,0UL,6UL},{0xD3L,0UL,0xE3L}},{{0x77L,0UL,254UL},{0UL,0UL,5UL},{0x16L,0x79L,0x77L},{9UL,0xE3L,0x7BL},{9UL,0x77L,253UL},{1UL,9UL,0x7BL},{0UL,255UL,0x77L}},{{6UL,0x22L,5UL},{2UL,0x9EL,254UL},{0x7BL,254UL,0xE3L},{0x7BL,6UL,6UL},{2UL,253UL,246UL},{6UL,0xD3L,0UL},{0UL,1UL,0xD9L}},{{1UL,246UL,0UL},{9UL,1UL,0xA3L},{9UL,0xD3L,0x16L},{0x16L,253UL,0xD3L},{0UL,6UL,1UL},{0x77L,254UL,1UL},{0xD3L,0x9EL,0xD3L}},{{252UL,0x22L,0x16L},{0x01L,255UL,0xA3L},{5UL,9UL,0UL},{1UL,0x16L,0x1AL},{0x77L,246UL,0x7BL},{6UL,9UL,0UL},{0x01L,0x90L,9UL}},{{0x79L,1UL,246UL},{0x16L,1UL,0x22L},{0x90L,0x90L,0x77L},{0xD9L,9UL,0x16L},{5UL,246UL,0xE3L},{255UL,0x16L,0xD3L},{254UL,5UL,0xE3L}},{{1UL,1UL,0x16L},{9UL,0UL,0x77L},{0x9EL,1UL,0x22L},{0xE3L,0x22L,246UL},{0xE3L,9UL,9UL},{0x9EL,0xD3L,0UL},{9UL,0x79L,0x7BL}},{{1UL,254UL,0x1AL},{254UL,0UL,1UL},{255UL,254UL,253UL},{5UL,0x79L,0xD9L},{0xD9L,0xD3L,0x79L},{0x90L,9UL,252UL},{0x16L,0x22L,252UL}},{{0x79L,1UL,0x79L},{0x01L,0UL,0xD9L},{6UL,1UL,253UL},{0x77L,5UL,1UL},{2UL,0x16L,0x1AL},{0x77L,246UL,0x7BL},{6UL,9UL,0UL}}};
    uint8_t **l_1927[5];
    int32_t l_1967 = 0L;
    int32_t l_1968 = (-7L);
    int16_t l_1988 = 0x6F3BL;
    uint8_t l_1989 = 0UL;
    int32_t l_1994[2][9][6] = {{{(-1L),0x15386E7CL,0L,0x87E9822EL,0x87E9822EL,0L},{0L,0L,0x981E54FDL,3L,0x85D021B8L,0xB3EC7EA2L},{0x57AC1E88L,0L,0x6AEDC142L,0x9CE07FAAL,2L,0x981E54FDL},{0x58545D2DL,0x57AC1E88L,0x6AEDC142L,0L,0L,0xB3EC7EA2L},{0x39382D10L,0L,0x981E54FDL,1L,1L,0L},{1L,1L,0L,0xDFC0D2DFL,0x209C6099L,0xDE787A32L},{0x4F4DA9A0L,0x981E54FDL,0xB4D124FBL,0x15A5F7CFL,0xD2EAD441L,0x15A5F7CFL},{0xD2EAD441L,(-2L),0xD2EAD441L,(-8L),0x39382D10L,0xB3440158L},{0x9CE07FAAL,0x8D7B9B69L,2L,0xB4D124FBL,0xB3440158L,0x209C6099L}},{{0L,3L,0L,0xB4D124FBL,0x58545D2DL,(-8L)},{0x9CE07FAAL,0xD2EAD441L,0x85D021B8L,(-8L),0L,0x8761A580L},{0xD2EAD441L,0xDE787A32L,0x15386E7CL,0x15A5F7CFL,0x442BFBFAL,0L},{0x4F4DA9A0L,0x39382D10L,0L,0xDFC0D2DFL,0x57AC1E88L,0x57AC1E88L},{1L,0xFA3B1498L,0xFA3B1498L,1L,0xDFC0D2DFL,0xB4D124FBL},{0x39382D10L,4L,1L,0L,(-2L),0x15386E7CL},{0x58545D2DL,1L,5L,0x9CE07FAAL,(-2L),(-1L)},{0x15386E7CL,0xB3EC7EA2L,0x39382D10L,0x209C6099L,3L,0xD2EAD441L},{0xB60FA3B9L,0L,1L,0x9CE07FAAL,0x15386E7CL,0xB4D124FBL}}};
    uint32_t l_1999 = 0UL;
    uint64_t *l_2005 = &l_1414[2][0][1];
    uint16_t l_2014 = 65531UL;
    int8_t l_2023[6];
    int i, j, k;
    for (i = 0; i < 1; i++)
        l_1686[i] = 4L;
    for (i = 0; i < 5; i++)
        l_1927[i] = (void*)0;
    for (i = 0; i < 6; i++)
        l_2023[i] = 0xC5L;
    (*g_1398) = func_2(func_5(l_8, func_10(((&g_9 == (l_12 = l_8)) , (((safe_div_func_int32_t_s_s(((func_15(func_20(g_24, (((*l_8) <= (*l_8)) >= ((*l_8) , (safe_add_func_uint16_t_u_u(func_27((&g_9 != l_12)), l_773)))), g_774[3]), &g_9, &g_9, g_24) , 255UL) || g_772), g_774[3])) | l_1344) >= 0x50902608A7C1BA0BLL)))), l_1344);
    for (g_24 = 10; (g_24 >= 28); ++g_24)
    { /* block id: 655 */
        uint64_t l_1408 = 0x61F324F35278A090LL;
        const uint32_t *l_1412 = &g_1013;
        const uint32_t **l_1411 = &l_1412;
        int8_t l_1431 = 0L;
        int64_t **l_1435 = &g_500;
        int32_t l_1449[9][1][5] = {{{(-2L),4L,0L,0L,4L}},{{0x4F6ADCECL,5L,0x98435891L,0x98435891L,5L}},{{(-2L),4L,0L,0L,4L}},{{0x4F6ADCECL,5L,0x98435891L,0x98435891L,5L}},{{(-2L),4L,0L,0L,4L}},{{0x4F6ADCECL,5L,0x98435891L,0x98435891L,5L}},{{(-2L),4L,0L,0L,4L}},{{0x4F6ADCECL,5L,0x98435891L,0x98435891L,5L}},{{(-2L),4L,0L,0L,4L}}};
        int32_t l_1472 = 7L;
        int32_t l_1486 = (-1L);
        uint32_t l_1505[2][3][7] = {{{0x0BFB2220L,0x77F7DBABL,0xD3723A27L,0x516C37BCL,0x516C37BCL,0xD3723A27L,0x77F7DBABL},{0xD3723A27L,0xCDE74C0CL,0x77F7DBABL,18446744073709551615UL,18446744073709551609UL,0x3C4454B9L,0x0BFB2220L},{0xD3723A27L,18446744073709551615UL,6UL,0x77F7DBABL,6UL,18446744073709551615UL,0xD3723A27L}},{{0x0BFB2220L,0x3C4454B9L,18446744073709551609UL,18446744073709551615UL,0x77F7DBABL,0xCDE74C0CL,0xD3723A27L},{0x77F7DBABL,0xD3723A27L,0x516C37BCL,0x516C37BCL,0xD3723A27L,0x77F7DBABL,0x0BFB2220L},{18446744073709551615UL,0x516C37BCL,18446744073709551609UL,0x0BFB2220L,0x277F9237L,0x77F7DBABL,0x77F7DBABL}}};
        int8_t l_1525[4] = {(-6L),(-6L),(-6L),(-6L)};
        uint16_t l_1535 = 65532UL;
        int16_t l_1574[7][10] = {{0x05C3L,(-1L),0x5054L,2L,3L,0x961FL,1L,3L,0xCA07L,0xA16CL},{3L,0x433BL,(-4L),0x05C3L,0L,(-1L),0xE715L,(-1L),0L,0x05C3L},{0x2934L,0x266EL,0x2934L,(-1L),0x13C3L,(-1L),0L,0xE715L,(-1L),7L},{0xA8DBL,3L,8L,0xA8DBL,0x05C3L,0x6B35L,1L,0xE715L,0x961FL,1L},{0xA16CL,(-2L),0x2934L,(-1L),(-1L),0x081AL,3L,(-1L),(-1L),3L},{0L,2L,(-4L),(-4L),2L,0L,7L,3L,(-1L),0x433BL},{(-1L),0xA8DBL,0x5054L,1L,0xA16CL,0x1A6EL,(-1L),0x13C3L,0x6B35L,1L}};
        uint8_t l_1620 = 1UL;
        int32_t l_1632 = (-1L);
        int8_t ** const **l_1665[7][8][3] = {{{&l_1512,&l_1512,&g_1517},{(void*)0,(void*)0,&g_1517},{&g_1517,&g_1517,&g_1517},{(void*)0,&g_1517,&l_1512},{(void*)0,&g_1517,&l_1512},{(void*)0,(void*)0,&g_1517},{&l_1512,&l_1512,&l_1512},{&l_1512,&l_1512,(void*)0}},{{&l_1512,&g_1517,(void*)0},{(void*)0,(void*)0,&g_1517},{&l_1512,&l_1512,&l_1512},{&g_1517,&l_1512,&l_1512},{&l_1512,&l_1512,(void*)0},{&g_1517,&g_1517,&g_1517},{&g_1517,&g_1517,&g_1517},{&g_1517,&g_1517,&g_1517}},{{&g_1517,&l_1512,(void*)0},{&g_1517,&l_1512,(void*)0},{&l_1512,&l_1512,(void*)0},{(void*)0,(void*)0,&g_1517},{&l_1512,&g_1517,&l_1512},{(void*)0,&l_1512,&g_1517},{&l_1512,&l_1512,(void*)0},{(void*)0,&l_1512,&g_1517}},{{&l_1512,(void*)0,&g_1517},{&g_1517,&g_1517,(void*)0},{&g_1517,(void*)0,&g_1517},{&g_1517,&g_1517,&l_1512},{(void*)0,&l_1512,&g_1517},{&g_1517,&g_1517,(void*)0},{(void*)0,(void*)0,(void*)0},{&g_1517,(void*)0,(void*)0}},{{(void*)0,(void*)0,&g_1517},{(void*)0,&g_1517,&g_1517},{(void*)0,&g_1517,&g_1517},{(void*)0,&l_1512,(void*)0},{(void*)0,&g_1517,&l_1512},{&g_1517,&l_1512,&l_1512},{(void*)0,&l_1512,&g_1517},{&g_1517,&g_1517,(void*)0}},{{(void*)0,&g_1517,(void*)0},{&g_1517,&l_1512,&l_1512},{&g_1517,&g_1517,&l_1512},{&g_1517,(void*)0,(void*)0},{&l_1512,(void*)0,&g_1517},{(void*)0,&g_1517,&g_1517},{&l_1512,&l_1512,&l_1512},{(void*)0,&g_1517,&g_1517}},{{&l_1512,&g_1517,&l_1512},{(void*)0,&l_1512,&g_1517},{&l_1512,&l_1512,&l_1512},{&g_1517,&g_1517,&g_1517},{&g_1517,&l_1512,&l_1512},{&g_1517,&g_1517,&g_1517},{&g_1517,&g_1517,&l_1512},{&g_1517,(void*)0,&g_1517}}};
        uint8_t ***l_1671 = (void*)0;
        uint32_t ****l_1678 = &g_641;
        uint64_t l_1689 = 0xA08DD1E2BC09D0D1LL;
        uint32_t ****l_1747 = (void*)0;
        uint16_t ***l_1760 = (void*)0;
        uint8_t l_1762 = 0xDFL;
        uint16_t l_1792 = 65531UL;
        const int32_t *l_1829 = &l_773;
        int64_t ****l_1835 = (void*)0;
        uint64_t l_1851 = 0x6B3ED22F11127AE9LL;
        uint8_t l_1866 = 0UL;
        uint32_t l_1867 = 0x4BDAB034L;
        uint32_t l_1870 = 0xBF696751L;
        int64_t l_1874 = 1L;
        const int64_t l_1894 = 0x98BBEDFE97FE9CD3LL;
        int16_t l_1966 = 6L;
        int i, j, k;
    }
    if ((((***g_1807) == ((void*)0 == (*g_1298))) < ((**g_1210) , ((*l_8) | ((*l_2005) |= ((safe_lshift_func_int64_t_s_s(((safe_div_func_uint8_t_u_u(((l_1999 |= (0xAEF87ABBD19562BFLL | ((void*)0 != l_1482))) , ((((safe_sub_func_int64_t_s_s(((safe_mul_func_uint64_t_u_u(((**g_1516) == (**l_1511)), g_162)) || (*l_8)), 0xD930DB7765ED5B0FLL)) > 0xF4L) >= (*l_12)) , (*l_12))), g_2004)) ^ (*g_1065)), 58)) || (*l_12)))))))
    { /* block id: 904 */
        int16_t l_2006 = 0xED0DL;
        return l_2006;
    }
    else
    { /* block id: 906 */
        const int64_t *l_2013[4];
        int16_t *l_2019 = (void*)0;
        int16_t *l_2020 = &l_1988;
        int32_t l_2021[6][3];
        int64_t *l_2022[5];
        uint8_t l_2024 = 9UL;
        int i, j;
        for (i = 0; i < 4; i++)
            l_2013[i] = (void*)0;
        for (i = 0; i < 6; i++)
        {
            for (j = 0; j < 3; j++)
                l_2021[i][j] = (-5L);
        }
        for (i = 0; i < 5; i++)
            l_2022[i] = &g_915;
        (*g_66) &= ((((((safe_mul_func_int64_t_s_s((*g_500), (l_2021[0][0] = ((safe_div_func_uint16_t_u_u((safe_mod_func_uint8_t_u_u((*l_8), (((void*)0 == l_2013[2]) , l_2014))), (((safe_mul_func_int64_t_s_s(5L, (safe_lshift_func_int16_t_s_u(((*l_2020) = g_1167), l_2021[0][0])))) != g_1936) | 4UL))) == l_2021[2][1])))) || l_2021[0][0]) , (***g_1807)) > 0xEAB1CBD7D679C18DLL) , 0L) >= l_2023[1]);
        l_2024++;
    }
    return (*l_12);
}


/* ------------------------------------------ */
/* 
 * reads : g_662
 * writes: g_661
 */
static int32_t * func_2(int32_t * p_3, int16_t  p_4)
{ /* block id: 649 */
    (*g_662) = p_3;
    return p_3;
}


/* ------------------------------------------ */
/* 
 * reads : g_772 g_156 g_808 g_24 g_108 g_63 g_64 g_9
 * writes: g_772 g_386 g_157 g_9 g_64
 */
static int32_t * func_5(int32_t * p_6, int32_t * p_7)
{ /* block id: 635 */
    uint64_t l_1369 = 0x60D1EA7657623260LL;
    int16_t *l_1392 = &g_386[5];
    int16_t *l_1393 = &g_157;
    uint8_t l_1394[7] = {0x58L,0x58L,0x58L,0x58L,0x58L,0x58L,0x58L};
    uint16_t **l_1395[6];
    int32_t *l_1396 = &g_64;
    int i;
    for (i = 0; i < 6; i++)
        l_1395[i] = &g_1211;
    for (g_772 = 0; (g_772 > 2); g_772++)
    { /* block id: 638 */
        int32_t *l_1357 = &g_65;
        int32_t *l_1358 = &g_65;
        int32_t *l_1359 = &g_64;
        int32_t l_1360 = (-9L);
        int32_t *l_1361 = &l_1360;
        int32_t *l_1362 = &g_64;
        int32_t *l_1363 = &l_1360;
        int32_t *l_1364 = &g_67;
        int32_t *l_1365 = &g_65;
        int32_t *l_1366 = &g_9;
        int32_t *l_1367 = &g_9;
        int32_t *l_1368 = &l_1360;
        l_1369--;
    }
    l_1394[1] = ((safe_lshift_func_int64_t_s_u(((safe_div_func_int32_t_s_s((safe_mul_func_uint32_t_u_u((safe_div_func_uint32_t_u_u(1UL, 0x4B862B54L)), ((*p_6) = ((safe_add_func_uint64_t_u_u(((l_1369 || g_156) && 1L), (((((*l_1393) = ((*l_1392) = (safe_add_func_int32_t_s_s((((g_808 > l_1369) , (safe_mul_func_uint8_t_u_u((g_24 < (safe_sub_func_int16_t_s_s(((safe_div_func_int16_t_s_s(((safe_mul_func_int64_t_s_s(((void*)0 == &g_1210), (-6L))) & l_1369), l_1369)) , l_1369), g_108))), l_1369))) , 0xD7B6D640L), l_1369)))) != 0xF3B4L) < 5L) <= (-5L)))) > 0x5C0CL)))), (-5L))) , 0x472A359E508A5D2ALL), 7)) != l_1369);
    (*l_1396) &= (l_1395[2] != (((l_1394[3] > (l_1369 , 1UL)) & (((g_63[1] != l_1394[1]) > (0x98A58FEEB5602AB7LL > ((l_1369 , (g_9 = (&g_166 == &l_1369))) ^ l_1369))) <= l_1394[4])) , l_1395[2]));
    (*l_1396) |= (*p_7);
    return p_6;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t * func_10(int32_t  p_11)
{ /* block id: 631 */
    int32_t *l_1345 = &g_67;
    int32_t *l_1346[5] = {&g_67,&g_67,&g_67,&g_67,&g_67};
    int8_t l_1347 = 0xDFL;
    int16_t l_1348 = 0xF60DL;
    uint16_t l_1349 = 0x9730L;
    int32_t **l_1352[7] = {&g_70,&l_1346[2],&l_1346[2],&g_70,&l_1346[2],&l_1346[2],&g_70};
    int32_t *l_1353 = &g_64;
    int32_t *l_1354 = &g_9;
    int i;
    l_1349--;
    l_1353 = l_1345;
    return l_1354;
}


/* ------------------------------------------ */
/* 
 * reads : g_166 g_65 g_157 g_9
 * writes: g_500 g_166 g_157 g_9
 */
static uint32_t  func_15(uint8_t  p_16, const int32_t * p_17, int32_t * p_18, uint64_t  p_19)
{ /* block id: 625 */
    int64_t *l_1334 = &g_1167;
    uint64_t *l_1335[9][5] = {{&g_166,&g_166,&g_166,&g_166,&g_166},{&g_808,(void*)0,&g_808,(void*)0,&g_808},{&g_166,&g_166,&g_166,&g_166,&g_166},{&g_808,(void*)0,&g_808,(void*)0,&g_808},{&g_166,&g_166,&g_166,&g_166,&g_166},{&g_808,(void*)0,&g_808,(void*)0,&g_808},{&g_166,&g_166,&g_166,&g_166,&g_166},{&g_808,(void*)0,&g_808,(void*)0,&g_808},{&g_166,&g_166,&g_166,&g_166,&g_166}};
    int32_t l_1342[10];
    int16_t *l_1343 = &g_157;
    int i, j;
    for (i = 0; i < 10; i++)
        l_1342[i] = (-5L);
    (*p_18) |= (safe_sub_func_int64_t_s_s((safe_mul_func_int8_t_s_s((p_16 & (safe_add_func_int8_t_s_s((l_1334 != (g_500 = &g_1167)), (p_16 & ((18446744073709551610UL || (g_166 ^= 2UL)) <= ((safe_lshift_func_uint64_t_u_s((safe_mod_func_int16_t_s_s(((*l_1343) &= (g_65 & (safe_mod_func_uint16_t_u_u(p_16, l_1342[5])))), l_1342[5])), p_16)) > 1L)))))), p_16)), p_19));
    return p_16;
}


/* ------------------------------------------ */
/* 
 * reads : g_765 g_662 g_661 g_500 g_156 g_761 g_199 g_168 g_162 g_157 g_808 g_108 g_682 g_683 g_64 g_386 g_861 g_240 g_66 g_879 g_24 g_166 g_915 g_642 g_643 g_259 g_694 g_222 g_65 g_1050 g_9 g_774 g_1081 g_1065 g_80 g_67 g_1210 g_1211 g_1298
 * writes: g_240 g_162 g_166 g_808 g_156 g_64 g_108 g_683 g_80 g_861 g_67 g_75 g_915 g_199 g_259 g_157 g_70 g_661 g_1013 g_765 g_1064 g_1067 g_1081 g_1167 g_1210 g_198 g_168 g_1299
 */
static uint8_t  func_20(uint32_t  p_21, uint32_t  p_22, int32_t  p_23)
{ /* block id: 381 */
    uint8_t ** const l_775[7][5] = {{&g_746,&g_746,&g_746,&g_746,&g_746},{&g_746,&g_746,&g_746,&g_746,(void*)0},{&g_746,(void*)0,&g_746,&g_746,&g_746},{&g_746,&g_746,&g_746,&g_746,(void*)0},{&g_746,(void*)0,&g_746,&g_746,(void*)0},{&g_746,&g_746,&g_746,&g_746,&g_746},{&g_746,&g_746,&g_746,(void*)0,(void*)0}};
    const int32_t l_780 = 0xF587A74AL;
    int32_t *l_783 = (void*)0;
    int32_t **l_784 = &l_783;
    int8_t l_795 = 1L;
    int16_t *l_796[1][7];
    int32_t l_848 = 6L;
    int32_t l_855 = 0xA655EE49L;
    int32_t l_856 = 0x394A9E49L;
    int32_t l_858 = (-2L);
    uint32_t ***l_867 = &g_642;
    int32_t l_905 = (-3L);
    int32_t l_906[3];
    uint32_t ** const l_1149 = (void*)0;
    uint8_t l_1163 = 1UL;
    int8_t * const *l_1189 = (void*)0;
    int32_t l_1198 = 0L;
    uint16_t l_1199 = 0xCF3AL;
    uint16_t **l_1213 = &g_1211;
    int32_t *l_1255 = &l_906[0];
    int32_t l_1310 = 1L;
    int8_t l_1327 = (-5L);
    int i, j;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 7; j++)
            l_796[i][j] = &g_386[8];
    }
    for (i = 0; i < 3; i++)
        l_906[i] = 6L;
    if (((l_775[5][1] == l_775[1][3]) <= (0x16L == (safe_sub_func_int32_t_s_s((((safe_sub_func_int32_t_s_s(((((l_780 <= ((18446744073709551608UL && ((safe_mod_func_uint32_t_u_u((g_765 , ((((*l_784) = l_783) == (*g_662)) || (((((safe_rshift_func_int32_t_s_s((safe_add_func_int32_t_s_s((safe_mod_func_int32_t_s_s((((safe_lshift_func_int32_t_s_u((safe_lshift_func_uint8_t_u_s(l_795, p_21)), 27)) || p_23) , p_23), 0xF55D9DB8L)), l_780)), 31)) == p_23) <= p_21) , (*g_500)) < p_21))), 0x433CDBCCL)) != 0UL)) && p_23)) != (*g_500)) , &g_386[6]) != l_796[0][6]), 0x944030B5L)) , p_22) && (-8L)), p_23)))))
    { /* block id: 383 */
        uint16_t *l_799 = &g_240;
        uint16_t *l_800 = &g_162;
        const int32_t l_805 = 0xD121E2ADL;
        uint64_t *l_806 = &g_166;
        uint64_t *l_807[5][5] = {{&g_808,&g_808,&g_808,&g_808,&g_808},{&g_808,&g_808,&g_808,&g_808,&g_808},{&g_808,&g_808,&g_808,&g_808,&g_808},{&g_808,&g_808,&g_808,&g_808,&g_808},{&g_808,&g_808,&g_808,&g_808,&g_808}};
        int8_t **l_814 = &g_199;
        int8_t ***l_813 = &l_814;
        int32_t l_824 = 0xCFE2D1A9L;
        int32_t l_854[10][4] = {{1L,0xBEC61FECL,(-3L),0xBEC61FECL},{1L,0xE8A5F4C1L,(-3L),0xE8A5F4C1L},{1L,0xBEC61FECL,(-3L),0xBEC61FECL},{1L,0xE8A5F4C1L,(-3L),0xE8A5F4C1L},{1L,0xBEC61FECL,(-3L),0xBEC61FECL},{1L,0xE8A5F4C1L,(-3L),0xE8A5F4C1L},{1L,0xBEC61FECL,(-3L),0xBEC61FECL},{1L,0xE8A5F4C1L,(-3L),0xE8A5F4C1L},{1L,0xBEC61FECL,(-3L),0xBEC61FECL},{1L,0xE8A5F4C1L,(-3L),0xE8A5F4C1L}};
        uint32_t ***l_922 = &g_642;
        uint32_t * const **l_1104[2][1][4];
        int64_t *l_1164 = &g_915;
        int64_t *l_1165 = (void*)0;
        int64_t *l_1166 = &g_1167;
        int32_t *l_1168 = &l_848;
        int i, j, k;
        for (i = 0; i < 2; i++)
        {
            for (j = 0; j < 1; j++)
            {
                for (k = 0; k < 4; k++)
                    l_1104[i][j][k] = (void*)0;
            }
        }
lbl_1138:
        if (((safe_mul_func_uint16_t_u_u(((*l_799) = (g_761 <= ((*g_199) > (&g_156 == &g_156)))), ((0UL | ((*l_800)++)) > p_21))) < (p_23 ^ (g_156 , (g_808 |= ((*l_806) = (safe_sub_func_uint8_t_u_u((g_157 , l_805), p_22))))))))
        { /* block id: 388 */
            uint8_t l_815 = 1UL;
            const int32_t l_818 = (-1L);
            int32_t *l_819 = &g_64;
            int32_t l_857 = 1L;
            int32_t l_859 = 1L;
            int32_t l_897 = 0L;
            int32_t l_898 = 0xDA7E8349L;
            int32_t l_899 = 7L;
            int32_t l_900 = (-1L);
            int32_t l_902 = (-1L);
            int32_t l_903 = (-6L);
            int32_t l_904[5][8] = {{0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L},{0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L},{0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L},{0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L},{0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L,0x26E5BB81L,0xC1E36626L}};
            uint8_t l_907 = 0xC0L;
            int64_t *l_914 = &g_915;
            int32_t l_926 = 3L;
            int8_t l_933 = 8L;
            uint32_t ****l_935 = &l_922;
            uint32_t *****l_934 = &l_935;
            int8_t ***l_983 = &l_814;
            int64_t l_984 = 0x4801CBA2862B4B8DLL;
            uint16_t **l_1051 = (void*)0;
            int i, j;
            if (((*l_819) = (safe_lshift_func_int32_t_s_u((((l_805 < (l_813 != ((((l_815 = ((*g_500) = 1L)) != 0xB10CCF601DBFDC04LL) && ((l_815 ^ (safe_lshift_func_uint8_t_u_u(p_21, l_815))) || p_21)) , &g_198))) < 18446744073709551611UL) > l_818), p_22))))
            { /* block id: 392 */
                uint32_t ***l_832 = &g_642;
                int32_t l_846 = 1L;
                int16_t l_850[8];
                int32_t l_860 = (-1L);
                int i;
                for (i = 0; i < 8; i++)
                    l_850[i] = 2L;
                for (g_162 = 0; (g_162 < 9); g_162 = safe_add_func_uint16_t_u_u(g_162, 7))
                { /* block id: 395 */
                    uint16_t l_827[3][6] = {{65534UL,0x5FDFL,65534UL,0UL,0UL,65534UL},{65535UL,65535UL,0UL,0xFFB2L,0UL,65535UL},{0UL,0x5FDFL,0xFFB2L,0xFFB2L,0x5FDFL,0UL}};
                    int16_t l_845 = 0xC7C0L;
                    uint64_t l_847 = 18446744073709551615UL;
                    int32_t l_849 = 0x33CF372DL;
                    int32_t l_852 = 0x8B128F10L;
                    int32_t l_853[6][6] = {{0x04041D6FL,0x5CEF5B17L,0xA36BA7F1L,0x04041D6FL,2L,2L},{1L,0x5CEF5B17L,0x5CEF5B17L,0x5CEF5B17L,0xD4925B0FL,0xA77F5254L},{0xA36BA7F1L,0L,0xD4925B0FL,0xA36BA7F1L,0xD4925B0FL,0L},{2L,0L,0xA77F5254L,2L,0xD4925B0FL,0xD4925B0FL},{0x5CEF5B17L,0L,0L,0x5CEF5B17L,0xD4925B0FL,0xA77F5254L},{0xA36BA7F1L,0L,0xD4925B0FL,0xA36BA7F1L,0xD4925B0FL,0L}};
                    int32_t *l_868 = &l_860;
                    int32_t *l_877[1];
                    int i, j;
                    for (i = 0; i < 1; i++)
                        l_877[i] = &l_849;
                    (*l_784) = (void*)0;
                    for (g_108 = 1; (g_108 != (-8)); g_108--)
                    { /* block id: 399 */
                        int32_t *l_825 = (void*)0;
                        int32_t *l_826[3][4] = {{&g_67,&g_65,&g_65,&g_67},{&g_65,&g_67,&g_65,&g_65},{&g_67,&g_67,&g_64,&g_67}};
                        int32_t l_851 = (-6L);
                        int i, j;
                        ++l_827[1][4];
                        l_848 = ((*l_819) = (safe_sub_func_uint32_t_u_u(((((*g_682) |= (p_21 | (g_156 == g_108))) , ((void*)0 == l_832)) <= (safe_lshift_func_uint16_t_u_s(((*l_819) >= (safe_mul_func_uint32_t_u_u((g_80 = (safe_mul_func_int8_t_s_s((safe_lshift_func_int32_t_s_s(((252UL >= 0xF0L) || (safe_div_func_int16_t_s_s(((safe_div_func_int64_t_s_s((l_845 || l_846), p_23)) || (*g_500)), p_21))), p_23)), l_847))), g_386[3]))), 4))), p_21)));
                        ++g_861;
                        (*l_784) = (*l_784);
                    }
                    (*g_66) = (safe_unary_minus_func_uint64_t_u((((*l_868) |= ((*l_819) = ((void*)0 != l_867))) > (0UL >= (p_22 <= (safe_mod_func_uint16_t_u_u(((*l_799) = (safe_sub_func_int16_t_s_s(p_21, g_240))), (safe_mod_func_uint16_t_u_u((((((*g_500) = (p_23 == (((p_22 , (safe_sub_func_uint32_t_u_u(4294967288UL, l_846))) != 0xCFL) || p_23))) >= p_22) & p_21) != p_23), p_23)))))))));
                }
                (*l_784) = &l_854[6][3];
            }
            else
            { /* block id: 415 */
                int64_t l_878 = 0xBFD0EC88AF3E8970LL;
                int32_t l_890 = 0x660618F3L;
                int32_t *l_891 = &l_856;
                int32_t *l_892 = &l_859;
                int32_t *l_893 = (void*)0;
                int32_t *l_894 = &l_848;
                int32_t *l_895 = &l_854[3][2];
                int32_t *l_896[3];
                int8_t l_901 = 0x84L;
                int i;
                for (i = 0; i < 3; i++)
                    l_896[i] = &l_858;
                l_854[0][3] = l_878;
                if (g_879[1][0])
                { /* block id: 417 */
                    (*l_819) ^= ((g_75 = (l_854[3][2] ^ (g_24 ^ (p_21 ^ ((safe_mul_func_uint8_t_u_u(p_23, (safe_lshift_func_uint8_t_u_s((safe_lshift_func_uint16_t_u_u((l_878 > p_23), 14)), 3)))) || (l_890 ^= ((safe_sub_func_uint64_t_u_u(4UL, (p_23 >= ((safe_div_func_uint8_t_u_u((g_166 | 0xCDFC8271L), 0x60L)) >= 0x61DE0289L)))) == 4294967289UL))))))) == (*g_199));
                    if (g_157)
                        goto lbl_1138;
                }
                else
                { /* block id: 421 */
                    return p_23;
                }
                ++l_907;
                (*l_784) = (g_162 , &l_857);
            }
            if ((((*l_914) |= ((safe_lshift_func_int16_t_s_u((p_22 < (g_64 , (*g_500))), 10)) != ((safe_rshift_func_uint8_t_u_u(0x0FL, (*l_819))) > (*l_819)))) == (safe_div_func_int8_t_s_s(((((safe_lshift_func_int8_t_s_u((((safe_div_func_int16_t_s_s(6L, 3L)) != (((l_922 == l_867) , p_22) <= g_64)) == 0UL), 6)) != p_22) <= g_24) ^ 0xCE205D108676BA74LL), p_22))))
            { /* block id: 428 */
                int32_t *l_923 = &l_906[2];
                int32_t *l_924 = (void*)0;
                int32_t *l_925[8][2] = {{&g_9,&g_9},{&g_9,&g_65},{&l_903,&l_899},{&g_65,&l_899},{&l_903,&g_65},{&g_9,&g_9},{&g_9,&g_65},{&l_903,&l_899}};
                uint16_t l_927 = 0xBEE6L;
                int i, j;
                --l_927;
                l_924 = &l_824;
            }
            else
            { /* block id: 431 */
                int8_t *l_936 = (void*)0;
                int32_t l_943[7][3][3] = {{{0L,(-3L),(-1L)},{0x6739C1B0L,0xAA666205L,(-10L)},{(-3L),0L,(-1L)}},{{5L,0x86B38902L,0L},{0xFEFB93F9L,0x79C00C3CL,0L},{0L,(-1L),0x9D2C9D7FL}},{{(-10L),(-1L),(-10L)},{0xBC4FC846L,0x79C00C3CL,0xF891CA49L},{0xAB7A972AL,0x86B38902L,0x79C00C3CL}},{{(-10L),0L,0x65EBFC1BL},{0L,0xAA666205L,0xBB4FA45AL},{(-10L),(-3L),(-10L)}},{{0xAB7A972AL,0x65EBFC1BL,(-1L)},{0xBC4FC846L,0x86B38902L,0L},{(-10L),0L,0L}},{{0L,0x7B5C0EAAL,(-1L)},{0xFEFB93F9L,0x154B1A4CL,(-10L)},{5L,0L,0xBB4FA45AL}},{{(-3L),0x86B38902L,0x65EBFC1BL},{0x6739C1B0L,0L,0x79C00C3CL},{0L,0x154B1A4CL,0xF891CA49L}}};
                uint8_t l_956 = 1UL;
                uint32_t *l_1063[3][8][1] = {{{&g_1013},{(void*)0},{&g_80},{(void*)0},{&g_1013},{&g_1013},{&g_1013},{&g_80}},{{&g_1013},{&g_1013},{&g_1013},{(void*)0},{&g_80},{(void*)0},{&g_1013},{&g_1013}},{{&g_1013},{&g_80},{&g_1013},{&g_1013},{&g_1013},{(void*)0},{&g_80},{(void*)0}}};
                uint32_t **l_1062[8] = {&l_1063[2][3][0],&l_1063[1][1][0],&l_1063[2][3][0],&l_1063[2][3][0],&l_1063[1][1][0],&l_1063[2][3][0],&l_1063[2][3][0],&l_1063[1][1][0]};
                int i, j, k;
lbl_1072:
                if (p_21)
                { /* block id: 432 */
                    return p_22;
                }
                else
                { /* block id: 434 */
                    int32_t *l_932 = &l_854[3][2];
                    for (g_166 = (-27); (g_166 == 47); g_166 = safe_add_func_uint16_t_u_u(g_166, 3))
                    { /* block id: 437 */
                        (*l_784) = l_932;
                        return l_933;
                    }
                    if (((l_934 == ((*l_932) , &g_679[0][2])) < ((&g_108 != ((**l_813) = l_936)) != p_22)))
                    { /* block id: 442 */
                        const int32_t l_941 = 0xEF39A543L;
                        l_956 = ((*l_783) , (safe_div_func_uint8_t_u_u((safe_rshift_func_uint16_t_u_s(0x22DAL, (((((l_941 <= p_21) , ((safe_unary_minus_func_uint8_t_u(l_943[1][1][2])) ^ (~(+(safe_lshift_func_uint32_t_u_u(0xC0FDD3C8L, 30)))))) || ((((*****l_934) = 0UL) , ((safe_mul_func_int16_t_s_s((safe_lshift_func_uint64_t_u_s((++(*l_806)), 26)), (g_157 = (safe_div_func_int64_t_s_s(((void*)0 != &l_854[1][2]), g_259[3][1]))))) >= g_915)) | 4294967295UL)) | p_23) && p_22))), p_23)));
                    }
                    else
                    { /* block id: 447 */
                        (*l_783) = p_21;
                        (*g_694) = (*l_784);
                    }
                }
                if ((safe_add_func_int32_t_s_s(((((((*l_799)--) , (0xC67FL != (l_805 || (safe_add_func_uint32_t_u_u((p_23 , ((*l_783) , (safe_lshift_func_uint8_t_u_u((safe_mod_func_uint16_t_u_u((0UL & ((safe_sub_func_uint64_t_u_u(((*g_500) == ((safe_mul_func_int32_t_s_s((safe_mod_func_int64_t_s_s(l_824, (safe_div_func_uint8_t_u_u((safe_rshift_func_uint16_t_u_u((safe_div_func_int16_t_s_s((((*l_819) = (safe_rshift_func_uint64_t_u_u(((safe_add_func_uint16_t_u_u(((void*)0 != l_983), g_386[3])) , 1UL), 6))) != g_915), g_222[1])), l_984)), 0xA3L)))), p_21)) > p_21)), p_21)) , g_65)), l_943[0][0][0])), 3)))), p_22))))) || l_943[3][0][0]) != 246UL) , 0x57D25E71L), p_22)))
                { /* block id: 454 */
                    int32_t l_1016 = 0x804A6888L;
                    uint32_t l_1022 = 1UL;
                    for (l_855 = 4; (l_855 >= 1); l_855 -= 1)
                    { /* block id: 457 */
                        uint32_t *l_1009 = &g_80;
                        uint32_t *l_1012 = &g_1013;
                        int32_t *l_1017[4];
                        uint32_t l_1035[9] = {0x4D5D2579L,0xC3F41405L,0xC3F41405L,0x4D5D2579L,0xC3F41405L,0xC3F41405L,0x4D5D2579L,0xC3F41405L,0xC3F41405L};
                        int i;
                        for (i = 0; i < 4; i++)
                            l_1017[i] = &l_906[2];
                    }
                }
                else
                { /* block id: 469 */
                    uint8_t l_1040 = 0xAFL;
                    int32_t l_1043 = 0x23F9B3A0L;
                    for (l_926 = 3; (l_926 >= 0); l_926 -= 1)
                    { /* block id: 472 */
                        const int32_t **l_1054 = &g_661[6];
                        uint32_t *l_1055 = &g_1013;
                        (*l_819) ^= (safe_rshift_func_uint16_t_u_u((((*l_799) = (safe_div_func_uint32_t_u_u((l_1040++), l_854[3][2]))) <= (l_1043 , (safe_div_func_int32_t_s_s((safe_lshift_func_int32_t_s_s(p_22, 15)), 0x2011B69AL)))), ((g_879[0][4] & ((safe_sub_func_int64_t_s_s((g_1050 != l_1051), (safe_add_func_uint16_t_u_u(g_879[1][0], 1UL)))) && p_21)) < p_21)));
                        (*l_1054) = &l_805;
                        (**l_784) ^= (*l_819);
                        (*l_783) ^= (((((*l_1055) = p_22) > p_22) , (((*l_935) = l_922) != (g_24 , l_867))) , p_22);
                    }
                }
                for (g_157 = 0; (g_157 != 6); g_157 = safe_add_func_uint8_t_u_u(g_157, 2))
                { /* block id: 485 */
                    int32_t *l_1073 = (void*)0;
                    int32_t *l_1074 = (void*)0;
                    int32_t *l_1075 = &l_859;
                    int32_t *l_1076 = &l_857;
                    int32_t *l_1077 = &l_856;
                    int32_t *l_1078 = &l_898;
                    int32_t *l_1079 = &l_900;
                    int32_t *l_1080[3];
                    int i;
                    for (i = 0; i < 3; i++)
                        l_1080[i] = (void*)0;
                    for (g_765 = 0; (g_765 <= 3); g_765 += 1)
                    { /* block id: 488 */
                        uint32_t ***l_1066[10][3] = {{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0},{&l_1062[0],(void*)0,(void*)0}};
                        int i, j;
                        l_854[(g_765 + 3)][g_765] &= (((l_943[0][1][0] = ((safe_sub_func_uint64_t_u_u((safe_mod_func_int16_t_s_s((((0x8BE9C16AE37F5192LL <= ((g_1067[0][1] = (g_1064[2] = l_1062[0])) == ((g_9 < (safe_rshift_func_int32_t_s_s(((l_943[1][1][2] , ((0x86ACF45DA7E84A5FLL < g_166) != (&g_808 != l_914))) ^ p_22), p_21))) , (void*)0))) != 0x36A1058CAB563894LL) , 0x46FCL), p_21)), 0xD4C3F0C6D9F40E4DLL)) < g_774[3])) <= p_23) , 1L);
                    }
                    if (p_21)
                        continue;
                    for (l_905 = (-15); (l_905 > 11); l_905 = safe_add_func_int64_t_s_s(l_905, 7))
                    { /* block id: 497 */
                        (**l_784) |= (-2L);
                        if (g_765)
                            goto lbl_1072;
                        if (p_22)
                            break;
                    }
                    g_1081--;
                }
            }
            (*l_819) |= (p_22 <= 0x204AD8B816E35C35LL);
        }
        else
        { /* block id: 506 */
            uint32_t l_1101 = 0x924D2CC9L;
            uint8_t **l_1121 = &g_746;
            int32_t l_1136 = 0x03C16ACDL;
            int32_t *l_1137 = &l_855;
            for (g_162 = 0; (g_162 <= 14); ++g_162)
            { /* block id: 509 */
                uint32_t *l_1099 = &g_259[3][1];
                uint32_t **l_1100 = &l_1099;
                uint32_t * const *l_1106 = (void*)0;
                uint32_t * const **l_1105 = &l_1106;
                int32_t l_1111 = (-1L);
                int32_t *l_1112 = &l_905;
                (*l_784) = &l_824;
                for (g_808 = 27; (g_808 > 33); g_808++)
                { /* block id: 513 */
                    (*l_784) = (*l_784);
                }
                (*l_783) = ((*l_1112) &= (safe_rshift_func_int64_t_s_u(((*g_500) |= (((safe_mod_func_uint32_t_u_u((*g_1065), (safe_mul_func_uint8_t_u_u(((safe_rshift_func_uint16_t_u_s((safe_mod_func_uint64_t_u_u(((!(((l_1101 = ((**l_867) != ((*l_1100) = l_1099))) , (safe_sub_func_int64_t_s_s(((l_1105 = (l_1104[0][0][0] = l_1104[0][0][0])) == &l_1106), ((l_854[3][2] = (safe_add_func_int64_t_s_s(0L, g_683))) || (**l_784))))) < (safe_lshift_func_int8_t_s_s((0xE53EL == g_774[2]), 5)))) >= (**l_784)), 0x0A374A664B43F6F5LL)), 12)) < l_805), l_1111)))) < p_22) , (-6L))), p_23)));
            }
            for (l_905 = (-22); (l_905 <= 4); l_905++)
            { /* block id: 527 */
                if (p_21)
                    break;
            }
            (*l_1137) ^= (l_854[4][0] = (l_1136 |= (safe_sub_func_int8_t_s_s(1L, (safe_mul_func_uint32_t_u_u(4294967295UL, ((safe_sub_func_int8_t_s_s((l_1121 != (void*)0), ((~((*g_500) = (safe_sub_func_int32_t_s_s((l_1101 , (safe_div_func_int64_t_s_s(((+((safe_add_func_int32_t_s_s((((*l_800) = (++(*l_799))) | 1UL), ((*g_66) |= l_805))) || (safe_mod_func_uint8_t_u_u(0xF8L, ((safe_add_func_int32_t_s_s(p_22, 0x6F5CF2B6L)) , p_21))))) >= 0L), g_879[1][3]))), p_21)))) | l_1101))) != p_21)))))));
        }
        (*g_66) |= p_21;
        if (((*l_1168) ^= (safe_rshift_func_int32_t_s_s((((*g_500) < (safe_div_func_uint16_t_u_u((((*l_1166) = (safe_sub_func_int64_t_s_s(((*l_1164) = (safe_mod_func_uint64_t_u_u((((&g_661[1] != &g_661[0]) && (l_854[7][0] != (safe_lshift_func_int64_t_s_u(((void*)0 == l_1149), 41)))) , ((safe_sub_func_uint8_t_u_u(255UL, (safe_rshift_func_int16_t_s_s(((safe_add_func_int8_t_s_s(((safe_unary_minus_func_int16_t_s(9L)) != (((((safe_rshift_func_int64_t_s_s((safe_div_func_int32_t_s_s(((safe_mul_func_int64_t_s_s(((p_22 <= 0x218D4E4CL) || g_765), g_64)) , p_22), p_23)), 58)) >= (*g_1065)) , l_1163) ^ 1UL) || p_21)), 0xDBL)) & p_22), 6)))) != p_21)), 1L))), p_22))) , 0x2FD7L), l_854[3][2]))) != p_22), l_854[5][1]))))
        { /* block id: 543 */
            uint32_t l_1196 = 1UL;
            int8_t *l_1197 = &g_168;
            int32_t *l_1200[2][10] = {{&l_855,&l_824,&l_855,&l_854[3][2],&l_906[2],&l_906[2],&l_854[3][2],&l_855,&l_858,&l_854[3][2]},{&l_855,&l_824,&l_858,&l_906[2],&l_824,&l_906[2],&l_858,&l_824,&l_855,&l_855}};
            int i, j;
            (*l_784) = l_1200[1][9];
            (*l_784) = (void*)0;
        }
        else
        { /* block id: 547 */
            return p_23;
        }
    }
    else
    { /* block id: 550 */
        int16_t l_1209 = 1L;
        int8_t l_1216 = 0xE1L;
        int32_t l_1217 = 0x275563A9L;
        int32_t l_1236 = 0x9AD406DAL;
        int32_t *l_1245 = (void*)0;
        int8_t **l_1273 = (void*)0;
        int32_t l_1290 = 0x06D84ED7L;
        int32_t l_1292 = 0L;
        int32_t l_1322 = 0x60ABC759L;
        int32_t l_1323 = 1L;
        if ((0xE8L != (0L ^ g_162)))
        { /* block id: 551 */
            uint8_t l_1205 = 0xE8L;
            int32_t *l_1206 = &l_858;
            uint16_t * const **l_1212 = &g_1210;
            int32_t *l_1218 = &l_856;
            int32_t l_1254 = (-1L);
            uint64_t l_1264[6][8][5] = {{{0xDDFBFCABCC660B62LL,0xF5426648C7943F6CLL,1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL},{6UL,0x29946B7BDAB52A5ELL,1UL,0x5DE5922F03BDBE41LL,0UL},{1UL,0x29946B7BDAB52A5ELL,6UL,6UL,0x29946B7BDAB52A5ELL},{1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL,0x29946B7BDAB52A5ELL,0UL},{0xF5426648C7943F6CLL,6UL,0xDDFBFCABCC660B62LL,18446744073709551610UL,0xDDFBFCABCC660B62LL},{0UL,0UL,6UL,1UL,0x36E2D763CD3B2A18LL},{0xF5426648C7943F6CLL,0x36E2D763CD3B2A18LL,1UL,1UL,1UL},{1UL,1UL,1UL,18446744073709551610UL,0x5DE5922F03BDBE41LL}},{{1UL,0x36E2D763CD3B2A18LL,0xF5426648C7943F6CLL,0x29946B7BDAB52A5ELL,0x5DE5922F03BDBE41LL},{6UL,0UL,0UL,6UL,1UL},{0xDDFBFCABCC660B62LL,6UL,0xF5426648C7943F6CLL,0x5DE5922F03BDBE41LL,0x36E2D763CD3B2A18LL},{0xDDFBFCABCC660B62LL,0xF5426648C7943F6CLL,1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL},{6UL,0x29946B7BDAB52A5ELL,1UL,0x5DE5922F03BDBE41LL,0UL},{1UL,0x29946B7BDAB52A5ELL,6UL,6UL,0x29946B7BDAB52A5ELL},{1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL,0x29946B7BDAB52A5ELL,0UL},{0xF5426648C7943F6CLL,6UL,0xDDFBFCABCC660B62LL,18446744073709551610UL,0xDDFBFCABCC660B62LL}},{{0UL,0UL,6UL,1UL,0x36E2D763CD3B2A18LL},{0xF5426648C7943F6CLL,0x36E2D763CD3B2A18LL,1UL,1UL,1UL},{1UL,1UL,1UL,18446744073709551610UL,0x5DE5922F03BDBE41LL},{1UL,0x36E2D763CD3B2A18LL,0xF5426648C7943F6CLL,0x29946B7BDAB52A5ELL,0x5DE5922F03BDBE41LL},{6UL,0UL,0UL,6UL,1UL},{0xDDFBFCABCC660B62LL,6UL,0xF5426648C7943F6CLL,0x5DE5922F03BDBE41LL,0x36E2D763CD3B2A18LL},{0xDDFBFCABCC660B62LL,0xF5426648C7943F6CLL,1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL},{6UL,0x29946B7BDAB52A5ELL,1UL,0x5DE5922F03BDBE41LL,0UL}},{{1UL,0x29946B7BDAB52A5ELL,6UL,6UL,0x29946B7BDAB52A5ELL},{1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL,0x29946B7BDAB52A5ELL,0UL},{0xF5426648C7943F6CLL,6UL,0xDDFBFCABCC660B62LL,18446744073709551610UL,0xDDFBFCABCC660B62LL},{0UL,0UL,6UL,1UL,0x36E2D763CD3B2A18LL},{0xF5426648C7943F6CLL,0x36E2D763CD3B2A18LL,1UL,1UL,1UL},{1UL,1UL,1UL,18446744073709551610UL,0x5DE5922F03BDBE41LL},{1UL,0x36E2D763CD3B2A18LL,0xF5426648C7943F6CLL,0x29946B7BDAB52A5ELL,0x5DE5922F03BDBE41LL},{6UL,0UL,0UL,6UL,1UL}},{{0xDDFBFCABCC660B62LL,6UL,0xF5426648C7943F6CLL,0x5DE5922F03BDBE41LL,0x36E2D763CD3B2A18LL},{0xDDFBFCABCC660B62LL,0xF5426648C7943F6CLL,1UL,0xF5426648C7943F6CLL,0xDDFBFCABCC660B62LL},{6UL,0x29946B7BDAB52A5ELL,1UL,0x36E2D763CD3B2A18LL,18446744073709551610UL},{1UL,6UL,0UL,0UL,6UL},{0x29946B7BDAB52A5ELL,1UL,1UL,6UL,18446744073709551610UL},{1UL,0UL,1UL,0xF5426648C7943F6CLL,1UL},{18446744073709551610UL,18446744073709551610UL,0UL,0x29946B7BDAB52A5ELL,0xDDFBFCABCC660B62LL},{1UL,0xDDFBFCABCC660B62LL,1UL,0x29946B7BDAB52A5ELL,0x29946B7BDAB52A5ELL}},{{0x29946B7BDAB52A5ELL,0x5DE5922F03BDBE41LL,0x29946B7BDAB52A5ELL,0xF5426648C7943F6CLL,0x36E2D763CD3B2A18LL},{1UL,0xDDFBFCABCC660B62LL,1UL,6UL,0x36E2D763CD3B2A18LL},{0UL,18446744073709551610UL,18446744073709551610UL,0UL,0x29946B7BDAB52A5ELL},{1UL,0UL,1UL,0x36E2D763CD3B2A18LL,0xDDFBFCABCC660B62LL},{1UL,1UL,0x29946B7BDAB52A5ELL,1UL,1UL},{0UL,6UL,1UL,0x36E2D763CD3B2A18LL,18446744073709551610UL},{1UL,6UL,0UL,0UL,6UL},{0x29946B7BDAB52A5ELL,1UL,1UL,6UL,18446744073709551610UL}}};
            int i, j, k;
lbl_1265:
            (*l_1218) ^= (safe_mul_func_uint8_t_u_u((safe_mul_func_uint32_t_u_u(l_1205, ((*l_1206) ^= l_1205))), (l_1189 != (((safe_div_func_uint16_t_u_u(0x30B3L, l_1209)) > (l_1217 = (((**l_1213) = (((*l_1212) = g_1210) == l_1213)) == (safe_div_func_uint64_t_u_u(((g_157 &= l_1209) , ((l_867 == l_867) & l_1216)), g_774[3]))))) , &g_199))));
            for (p_22 = 0; (p_22 == 52); p_22++)
            { /* block id: 560 */
                uint8_t l_1225 = 1UL;
                uint64_t *l_1232[10];
                uint8_t l_1235 = 4UL;
                int i;
                for (i = 0; i < 10; i++)
                    l_1232[i] = &g_166;
                if ((p_22 < ((p_22 , (safe_add_func_uint16_t_u_u(((safe_rshift_func_uint64_t_u_u(l_1225, 25)) < (*g_199)), ((((safe_mod_func_int32_t_s_s((0x74536511DF851163LL <= (((*g_1210) == (*g_1210)) , (l_1236 = ((l_1225 & (((((l_1217 = ((safe_mod_func_int8_t_s_s((safe_rshift_func_uint32_t_u_s(((((((g_808--) , (g_386[6] ^ p_22)) > l_1225) < 1UL) <= (*l_1218)) <= p_23), 24)), p_23)) ^ (*l_1206))) ^ 1UL) , l_1235) , 0x7DFA91D9D4B8B294LL) == 0x9D06FA2A89AC716BLL)) <= l_1225)))), l_1216)) <= l_1235) || 0UL) || g_108)))) < 0x2CC139973D5BC4CDLL)))
                { /* block id: 564 */
                    uint64_t l_1239 = 0x7DD84289AFCC9978LL;
                    int32_t l_1240[7][9][4] = {{{0L,0xBC9AE588L,0x65E0098BL,(-5L)},{0x52E2650CL,0xFA5B8376L,0xB63B1870L,(-1L)},{0xBCE5F076L,0x4558F890L,0x1C3BE8F4L,(-1L)},{(-7L),0x5314C958L,0L,1L},{1L,1L,0xD7661D24L,0x000C63C0L},{0x97CFE770L,6L,(-1L),(-1L)},{0xC7C4EEAFL,(-5L),0L,0xE9AE30FAL},{0x9BD8738AL,0x65E0098BL,0x1C3BE8F4L,0xD2471CE4L},{1L,0xFB0CE7CFL,0L,0x4558F890L}},{{0x4558F890L,0x9C9AE4B5L,0xCBEF3172L,0L},{0L,1L,0L,0L},{0x7F37438DL,0xDC0EE420L,(-1L),0xFB0CE7CFL},{6L,0x65E0098BL,0x5314C958L,0L},{(-1L),(-1L),0L,3L},{0xE9AE30FAL,(-1L),(-3L),0x000C63C0L},{0xA3EC422DL,1L,1L,(-1L)},{(-1L),0x1921DBA8L,0x52D56E3AL,0xCA823689L},{6L,0x4558F890L,0xCA823689L,(-6L)}},{{1L,1L,(-2L),1L},{0x920D0936L,(-7L),0xCBEF3172L,(-5L)},{0x297D3345L,1L,1L,0xD7661D24L},{0xBCE5F076L,0xA1F57D13L,0xBCE5F076L,0xCA823689L},{0x9BD8738AL,0x5314C958L,0xE9AE30FAL,(-8L)},{0L,0x1C3BE8F4L,0xD7661D24L,0x5314C958L},{0xFB0CE7CFL,(-1L),0xD7661D24L,(-1L)},{0L,(-6L),0xE9AE30FAL,0L},{0x9BD8738AL,0xE3144F85L,0xBCE5F076L,0xFB0CE7CFL}},{{0xBCE5F076L,0xFB0CE7CFL,1L,0x52E2650CL},{0x297D3345L,1L,0xCBEF3172L,1L},{0x920D0936L,0x9C9AE4B5L,(-2L),0L},{1L,0x97CFE770L,0xCA823689L,0x1921DBA8L},{(-1L),0L,0xCBEF3172L,(-1L)},{(-1L),0x65F3A679L,0xC7C4EEAFL,(-2L)},{0xCA823689L,0xC7C4EEAFL,0xDC0EE420L,0x9BD8738AL},{(-1L),0x2FBEC90AL,0x01E9A3ABL,1L},{0x1C3BE8F4L,0x65E0098BL,0x9BD8738AL,1L}},{{(-1L),6L,(-1L),0L},{0x53B2C298L,0xB63B1870L,0x52E2650CL,0xD7661D24L},{0xE330AF8EL,0L,2L,(-6L)},{0x5DF6DA67L,1L,0x9C9AE4B5L,(-1L)},{(-4L),1L,6L,1L},{(-6L),(-7L),0x115B63F6L,0xB63B1870L},{0xD7661D24L,6L,0L,0xCBEF3172L},{0x5314C958L,0xC7C4EEAFL,(-1L),0L},{(-6L),0xBC9AE588L,(-10L),(-10L)}},{{0x920D0936L,0x920D0936L,6L,0x1921DBA8L},{0x45D41741L,0x7044ABBAL,(-3L),0x5DF6DA67L},{0L,0xD2471CE4L,0xE9B94C39L,(-3L)},{0xE330AF8EL,0xD2471CE4L,0xA1F57D13L,0x5DF6DA67L},{0xD2471CE4L,0x7044ABBAL,1L,0x1921DBA8L},{1L,0x920D0936L,0x9BD8738AL,(-10L)},{(-1L),0xBC9AE588L,(-5L),0L},{0x115B63F6L,0xC7C4EEAFL,0xD2471CE4L,0xCBEF3172L},{0xCA823689L,6L,0x01E9A3ABL,0xB63B1870L}},{{0xBCE5F076L,(-7L),0xE3144F85L,1L},{1L,1L,0xBCE5F076L,(-1L)},{0x53B2C298L,1L,0L,(-6L)},{1L,0L,0xE9B94C39L,0xD7661D24L},{1L,0xB63B1870L,0x9C9AE4B5L,0L},{6L,6L,(-5L),1L},{0x920D0936L,0x65E0098BL,(-1L),1L},{0xD7661D24L,0x2FBEC90AL,0L,0x9BD8738AL},{0x000C63C0L,0xC7C4EEAFL,0L,(-2L)}}};
                    int i, j, k;
                    for (g_108 = 20; (g_108 < 24); g_108 = safe_add_func_uint64_t_u_u(g_108, 7))
                    { /* block id: 567 */
                        (*l_1206) = (l_1217 = l_1239);
                        if (p_21)
                            continue;
                    }
                    if (l_1225)
                    { /* block id: 572 */
                        (*l_784) = &l_1217;
                    }
                    else
                    { /* block id: 574 */
                        uint8_t *l_1246 = &g_129[4][2];
                        (*l_784) = l_1255;
                        (*l_784) = (*l_784);
                    }
                }
                else
                { /* block id: 582 */
                    int16_t l_1256 = 0L;
                    uint32_t *l_1259 = &g_683;
                    l_1256 |= (-1L);
                    (*l_1218) ^= (safe_div_func_uint64_t_u_u((l_1259 != (void*)0), p_21));
                    for (l_1256 = 9; (l_1256 >= 0); l_1256 -= 1)
                    { /* block id: 587 */
                        (*l_1255) |= (safe_div_func_int8_t_s_s((*g_199), p_23));
                        if (p_21)
                            continue;
                    }
                }
                (*l_1255) |= ((*l_1218) |= (safe_add_func_int32_t_s_s(l_1235, ((*l_1206) = l_1264[0][6][0]))));
                if (l_1163)
                    goto lbl_1265;
                if (p_21)
                    break;
            }
        }
        else
        { /* block id: 598 */
            int16_t l_1268 = (-3L);
            int32_t l_1287 = (-1L);
            int32_t l_1288 = 0x9F91056AL;
            int32_t l_1293[3][2] = {{1L,1L},{1L,1L},{1L,1L}};
            uint64_t l_1294 = 0xBB5834EFF46957DELL;
            uint64_t l_1324 = 0xB2528FDF394E1BABLL;
            int i, j;
            for (g_162 = (-22); (g_162 >= 9); g_162 = safe_add_func_uint32_t_u_u(g_162, 6))
            { /* block id: 601 */
                uint64_t l_1269 = 0x997823E94CA03B75LL;
                (*l_1255) = l_1268;
                return l_1269;
            }
            for (l_1198 = 3; (l_1198 == 22); l_1198++)
            { /* block id: 607 */
                uint16_t *l_1272 = (void*)0;
                int32_t l_1289[7] = {0L,0L,0xE86A8629L,0L,0L,0xE86A8629L,0L};
                int64_t l_1291 = 0xAF5E92964A6C237DLL;
                int32_t *l_1300 = &g_65;
                int32_t *l_1301 = &l_1217;
                int32_t *l_1302 = &l_1290;
                int32_t *l_1303 = (void*)0;
                int32_t *l_1304 = &l_906[1];
                int32_t *l_1305 = &g_65;
                int32_t *l_1306 = (void*)0;
                int32_t *l_1307 = &l_905;
                int32_t *l_1308 = &l_1293[2][1];
                int32_t *l_1309 = &g_64;
                int32_t *l_1311 = &l_1293[2][1];
                int32_t *l_1312 = &l_856;
                int32_t *l_1313 = &l_848;
                int32_t *l_1314 = (void*)0;
                int32_t *l_1315 = (void*)0;
                int32_t *l_1316 = (void*)0;
                int32_t *l_1317 = &g_64;
                int32_t *l_1318 = &g_64;
                int32_t *l_1319[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                int32_t l_1320 = 0x0A74549BL;
                int32_t l_1321 = 7L;
                int i;
                if ((l_1272 == (void*)0))
                { /* block id: 608 */
                    int8_t ***l_1274[6] = {&l_1273,&l_1273,&l_1273,&l_1273,&l_1273,&l_1273};
                    int32_t *l_1277 = &l_855;
                    int32_t *l_1278 = &l_906[0];
                    int32_t *l_1279 = (void*)0;
                    int32_t *l_1280 = &l_905;
                    int32_t *l_1281 = &l_905;
                    int32_t *l_1282 = &g_64;
                    int32_t *l_1283 = &g_65;
                    int32_t *l_1284 = &l_855;
                    int32_t *l_1285 = &g_65;
                    int32_t *l_1286[3];
                    int i;
                    for (i = 0; i < 3; i++)
                        l_1286[i] = &l_858;
                    g_198 = l_1273;
                    for (g_168 = 23; (g_168 >= 16); g_168--)
                    { /* block id: 612 */
                        (*l_1255) = 0xC727CE11L;
                    }
                    --l_1294;
                }
                else
                { /* block id: 616 */
                    int32_t *l_1297 = &g_9;
                    (*l_784) = l_1297;
                }
                (*g_1298) = &g_641;
                l_1324--;
            }
        }
    }
    return l_1327;
}


/* ------------------------------------------ */
/* 
 * reads : g_24 g_9 g_64 g_65 g_66 g_67 g_69 g_75 g_63 g_80 g_70 g_129 g_157 g_156 g_168 g_108 g_222 g_240 g_259 g_277 g_198 g_199 g_166 g_162 g_386 g_499 g_500 g_482 g_641 g_662 g_661 g_694 g_745 g_762 g_765 g_772
 * writes: g_64 g_65 g_67 g_70 g_75 g_80 g_108 g_129 g_63 g_156 g_157 g_166 g_168 g_198 g_240 g_259 g_386 g_162 g_641 g_661 g_679 g_745 g_762 g_772
 */
static uint16_t  func_27(uint8_t  p_28)
{ /* block id: 2 */
    int32_t *l_43[9][8][3] = {{{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0},{&g_9,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0}},{{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0},{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0}},{{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0}},{{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0}},{{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0},{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9}},{{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0},{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9}},{{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0},{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0}},{{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,(void*)0}},{{&g_9,&g_9,&g_9},{&g_9,&g_9,(void*)0},{&g_9,&g_9,&g_9},{(void*)0,&g_9,&g_9},{&g_9,&g_9,&g_9},{&g_9,(void*)0,&g_9},{&g_9,&g_9,&g_9},{(void*)0,(void*)0,(void*)0}}};
    int i, j, k;
    g_772 ^= ((safe_lshift_func_int16_t_s_u((safe_add_func_int16_t_s_s(0x6FDDL, func_33((((safe_add_func_uint16_t_u_u((safe_div_func_uint16_t_u_u(g_24, 0x1480L)), ((l_43[5][3][0] == (p_28 , func_44((g_24 , (safe_div_func_int32_t_s_s(6L, (((safe_rshift_func_int16_t_s_s((func_53((safe_add_func_int32_t_s_s((g_9 , g_9), p_28)), g_24, l_43[4][4][1], p_28) <= p_28), 3)) , p_28) & g_9)))), g_9, g_9, p_28))) , g_24))) | g_24) , l_43[5][3][0]), l_43[5][3][0], g_9, g_765, &g_9))), 11)) > g_765);
    return p_28;
}


/* ------------------------------------------ */
/* 
 * reads : g_157 g_240
 * writes: g_157 g_240 g_641
 */
static uint16_t  func_33(int32_t * p_34, int32_t * p_35, uint64_t  p_36, int64_t  p_37, int32_t * p_38)
{ /* block id: 367 */
    uint32_t ***l_771 = &g_642;
    for (g_157 = 6; (g_157 >= 0); g_157 -= 1)
    { /* block id: 370 */
        for (g_240 = 0; (g_240 <= 3); g_240 += 1)
        { /* block id: 373 */
            int32_t *l_766 = (void*)0;
            int32_t *l_767[3];
            uint32_t l_768 = 3UL;
            int i;
            for (i = 0; i < 3; i++)
                l_767[i] = &g_65;
            l_768++;
        }
    }
    g_641 = l_771;
    return p_36;
}


/* ------------------------------------------ */
/* 
 * reads : g_70 g_69 g_65 g_80 g_67 g_129 g_66 g_24 g_157 g_9 g_75 g_108 g_222 g_63 g_240 g_156 g_259 g_277 g_64 g_198 g_199 g_168 g_166 g_162 g_386 g_499 g_500 g_482 g_641 g_662 g_661 g_694 g_745 g_762
 * writes: g_64 g_65 g_63 g_67 g_108 g_156 g_157 g_70 g_166 g_168 g_75 g_198 g_80 g_240 g_259 g_129 g_386 g_162 g_641 g_661 g_679 g_745 g_762
 */
static int32_t * func_44(uint32_t  p_45, const uint8_t  p_46, uint8_t  p_47, uint8_t  p_48)
{ /* block id: 48 */
    int32_t l_136[9];
    int8_t *l_144 = &g_108;
    int64_t *l_155 = &g_156;
    int32_t l_158 = 0L;
    int32_t **l_159 = &g_70;
    int16_t *l_160 = &g_157;
    uint16_t *l_161[7][2] = {{&g_162,&g_162},{&g_162,&g_162},{&g_162,&g_162},{&g_162,&g_162},{&g_162,&g_162},{&g_162,&g_162},{&g_162,&g_162}};
    int32_t l_163 = 0x3F6A3D26L;
    int32_t l_164 = 0x7A216F81L;
    uint64_t *l_165 = &g_166;
    int8_t *l_167 = &g_168;
    int32_t l_232 = 0L;
    int32_t l_235 = (-3L);
    int32_t l_236 = 1L;
    int32_t l_239[9] = {0L,0L,0x49E9B30FL,0L,0L,0x49E9B30FL,0L,0L,0x49E9B30FL};
    uint32_t l_284[4][7][3] = {{{0xEDC6F922L,0x5EB02964L,18446744073709551608UL},{0UL,0UL,0x6070ABB4L},{0x5EB02964L,0xEDC6F922L,18446744073709551608UL},{0x4034800DL,0x760C5BB3L,0x6070ABB4L},{0x14E35AD4L,0x14E35AD4L,18446744073709551608UL},{0x67EA7824L,0UL,0x6070ABB4L},{0xEDC6F922L,0x5EB02964L,18446744073709551608UL}},{{0UL,0UL,0x6070ABB4L},{0x5EB02964L,0xEDC6F922L,18446744073709551608UL},{0x4034800DL,0x760C5BB3L,0x6070ABB4L},{0x14E35AD4L,0x14E35AD4L,18446744073709551608UL},{0x67EA7824L,0UL,0x6070ABB4L},{0xEDC6F922L,0x5EB02964L,18446744073709551608UL},{0UL,0UL,0x6070ABB4L}},{{0x5EB02964L,0xEDC6F922L,18446744073709551608UL},{0x4034800DL,0x760C5BB3L,0x6070ABB4L},{0x14E35AD4L,0x14E35AD4L,18446744073709551608UL},{0x67EA7824L,0UL,0x6070ABB4L},{0xEDC6F922L,0x5EB02964L,18446744073709551608UL},{0UL,0UL,0x6070ABB4L},{0x5EB02964L,0xEDC6F922L,18446744073709551608UL}},{{0x4034800DL,0x760C5BB3L,0x6070ABB4L},{0x14E35AD4L,0x14E35AD4L,18446744073709551608UL},{0x67EA7824L,0UL,0x6070ABB4L},{0xEDC6F922L,0x5EB02964L,18446744073709551608UL},{0UL,0UL,0x6070ABB4L},{0x5EB02964L,0xEDC6F922L,18446744073709551608UL},{0x4034800DL,0x760C5BB3L,0x6070ABB4L}}};
    uint64_t l_312[2];
    uint32_t l_319[3][9] = {{4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL},{0x097631E5L,0x702C8372L,0x097631E5L,0x702C8372L,0x097631E5L,0x702C8372L,0x097631E5L,0x702C8372L,0x097631E5L},{4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL,4294967287UL}};
    uint16_t l_353 = 9UL;
    uint32_t l_393[1];
    int64_t l_429[10] = {0xC912DBFFE54F513DLL,5L,0xC912DBFFE54F513DLL,5L,0xC912DBFFE54F513DLL,5L,0xC912DBFFE54F513DLL,5L,0xC912DBFFE54F513DLL,5L};
    int64_t l_579 = (-6L);
    int32_t *l_587 = (void*)0;
    uint32_t *l_609 = &g_259[3][1];
    uint32_t **l_608 = &l_609;
    uint64_t l_634[9][6][2] = {{{0x68E2DD50541654F3LL,0xA490B1A6D8FC0C5FLL},{0x68E2DD50541654F3LL,0x42094444A6418122LL},{18446744073709551606UL,18446744073709551613UL},{0x42094444A6418122LL,18446744073709551610UL},{0x28985619250DC063LL,0x42094444A6418122LL},{0xA490B1A6D8FC0C5FLL,0x68E2DD50541654F3LL}},{{0x68E2DD50541654F3LL,18446744073709551615UL},{0x28985619250DC063LL,18446744073709551613UL},{18446744073709551615UL,18446744073709551613UL},{0x28985619250DC063LL,18446744073709551615UL},{0x68E2DD50541654F3LL,0x68E2DD50541654F3LL},{0xA490B1A6D8FC0C5FLL,0x42094444A6418122LL}},{{0x28985619250DC063LL,18446744073709551610UL},{0x42094444A6418122LL,18446744073709551613UL},{18446744073709551606UL,0x42094444A6418122LL},{0x68E2DD50541654F3LL,0xA490B1A6D8FC0C5FLL},{0x68E2DD50541654F3LL,0x42094444A6418122LL},{18446744073709551606UL,18446744073709551613UL}},{{0x42094444A6418122LL,18446744073709551610UL},{0x28985619250DC063LL,0x42094444A6418122LL},{0xA490B1A6D8FC0C5FLL,0x68E2DD50541654F3LL},{0x68E2DD50541654F3LL,18446744073709551615UL},{0x28985619250DC063LL,18446744073709551613UL},{18446744073709551615UL,18446744073709551613UL}},{{0x28985619250DC063LL,18446744073709551615UL},{0x68E2DD50541654F3LL,0x68E2DD50541654F3LL},{0xA490B1A6D8FC0C5FLL,0x42094444A6418122LL},{0x28985619250DC063LL,0x216D5972E2A96311LL},{18446744073709551606UL,0xA490B1A6D8FC0C5FLL},{0xD9B7F3BC29CA7B4FLL,18446744073709551606UL}},{{18446744073709551615UL,0xA1FABE16990D1C6ALL},{18446744073709551615UL,18446744073709551606UL},{0xD9B7F3BC29CA7B4FLL,0xA490B1A6D8FC0C5FLL},{18446744073709551606UL,0x216D5972E2A96311LL},{18446744073709551615UL,18446744073709551606UL},{0xA1FABE16990D1C6ALL,18446744073709551615UL}},{{18446744073709551615UL,0xF981BF154AF4FC41LL},{18446744073709551615UL,0xA490B1A6D8FC0C5FLL},{0xF981BF154AF4FC41LL,0xA490B1A6D8FC0C5FLL},{18446744073709551615UL,0xF981BF154AF4FC41LL},{18446744073709551615UL,18446744073709551615UL},{0xA1FABE16990D1C6ALL,18446744073709551606UL}},{{18446744073709551615UL,0x216D5972E2A96311LL},{18446744073709551606UL,0xA490B1A6D8FC0C5FLL},{0xD9B7F3BC29CA7B4FLL,18446744073709551606UL},{18446744073709551615UL,0xA1FABE16990D1C6ALL},{18446744073709551615UL,18446744073709551606UL},{0xD9B7F3BC29CA7B4FLL,0xA490B1A6D8FC0C5FLL}},{{18446744073709551606UL,0x216D5972E2A96311LL},{18446744073709551615UL,18446744073709551606UL},{0xA1FABE16990D1C6ALL,18446744073709551615UL},{18446744073709551615UL,0xF981BF154AF4FC41LL},{18446744073709551615UL,0xA490B1A6D8FC0C5FLL},{0xF981BF154AF4FC41LL,0xA490B1A6D8FC0C5FLL}}};
    int32_t * const l_692[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
    int64_t l_705 = 0x608445ED749EFABBLL;
    int8_t l_714 = 0xE9L;
    int32_t l_719 = (-1L);
    int32_t *l_737 = &l_236;
    uint32_t ***l_755[2];
    int32_t l_760 = (-1L);
    int i, j, k;
    for (i = 0; i < 9; i++)
        l_136[i] = 0x13E1DE84L;
    for (i = 0; i < 2; i++)
        l_312[i] = 18446744073709551615UL;
    for (i = 0; i < 1; i++)
        l_393[i] = 5UL;
    for (i = 0; i < 2; i++)
        l_755[i] = &g_642;
lbl_243:
    for (g_64 = 16; (g_64 >= 22); g_64 = safe_add_func_int16_t_s_s(g_64, 8))
    { /* block id: 51 */
        uint64_t l_137[10][10] = {{0x9B59D0B9B82EDC07LL,18446744073709551614UL,0xE6D42877FA2DA914LL,0xA59CA4D4997D19F8LL,0xBF6E466303744F0CLL,18446744073709551612UL,18446744073709551611UL,0xD9E6B8C764DEBD41LL,0xB8BA9382BCC5AAFBLL,0xBBAC150E4BAD8417LL},{18446744073709551608UL,0xE6D42877FA2DA914LL,0xB3BB4DD17DDF1753LL,18446744073709551606UL,18446744073709551611UL,1UL,5UL,0xBF6E466303744F0CLL,5UL,1UL},{0x3D3D57EAC76452A6LL,1UL,5UL,1UL,0x3D3D57EAC76452A6LL,18446744073709551608UL,0xBBAC150E4BAD8417LL,0xAC8149AEB80568E9LL,0UL,0x8E421BC6241912E7LL},{0xAC8149AEB80568E9LL,0xD9E6B8C764DEBD41LL,0x3D3D57EAC76452A6LL,1UL,0xDF71F774A439A01CLL,18446744073709551611UL,0xB8BA9382BCC5AAFBLL,0x0C02950AD08F565DLL,18446744073709551615UL,0x8E421BC6241912E7LL},{5UL,1UL,0xBF6E466303744F0CLL,0xA16B15256D7E5A20LL,0x3D3D57EAC76452A6LL,0x8EFB81438DE027B5LL,18446744073709551612UL,0UL,0x0C02950AD08F565DLL,1UL},{0xBF6E466303744F0CLL,0UL,0xBBAC150E4BAD8417LL,18446744073709551611UL,18446744073709551611UL,0x3D3D57EAC76452A6LL,0x3D3D57EAC76452A6LL,18446744073709551611UL,18446744073709551611UL,0xBBAC150E4BAD8417LL},{0xB3BB4DD17DDF1753LL,0xB3BB4DD17DDF1753LL,0UL,0xDF71F774A439A01CLL,0xBF6E466303744F0CLL,0x0C02950AD08F565DLL,1UL,18446744073709551615UL,0x3D3D57EAC76452A6LL,0xF4BA9CC6504EB428LL},{0UL,18446744073709551608UL,1UL,5UL,0xA59CA4D4997D19F8LL,0xD9E6B8C764DEBD41LL,1UL,5UL,0UL,18446744073709551606UL},{4UL,0xB3BB4DD17DDF1753LL,0x217F2CAB375827F4LL,0xECC62B0E76B20C9ALL,0xF4BA9CC6504EB428LL,0UL,0x3D3D57EAC76452A6LL,0UL,0xE6D42877FA2DA914LL,0xD9E6B8C764DEBD41LL},{0xECC62B0E76B20C9ALL,0UL,18446744073709551612UL,0xBBAC150E4BAD8417LL,1UL,0xBBAC150E4BAD8417LL,18446744073709551612UL,0UL,0xECC62B0E76B20C9ALL,0x9B59D0B9B82EDC07LL}};
        int i, j;
        for (p_48 = 0; (p_48 <= 3); p_48 += 1)
        { /* block id: 54 */
            int i;
            g_63[p_48] = ((*g_70) = (&g_63[p_48] != (void*)0));
            for (g_67 = (-29); (g_67 >= (-21)); g_67 = safe_add_func_int8_t_s_s(g_67, 9))
            { /* block id: 59 */
                (**g_69) ^= ((l_136[8] |= 255UL) || l_137[5][8]);
                (*g_70) = 0x1D5FB7F6L;
                if ((*g_70))
                    break;
                return (*g_69);
            }
        }
        (*g_70) = (-1L);
    }
    if (((safe_lshift_func_uint32_t_u_u((((*g_66) = (safe_mul_func_int64_t_s_s((safe_mul_func_int8_t_s_s(((*l_167) = ((((*l_165) = (((*l_144) = 0x18L) == ((((l_163 |= ((safe_rshift_func_uint16_t_u_u((safe_mod_func_int32_t_s_s((safe_lshift_func_uint16_t_u_s(g_80, 4)), (((g_67 > (safe_sub_func_uint16_t_u_u(p_46, (0x32L >= (((l_158 = (g_157 = (safe_mod_func_int64_t_s_s(((*l_155) = p_48), p_46)))) && ((*l_160) = (((*l_159) = (*g_69)) != &g_67))) > l_136[0]))))) && 8UL) , p_47))), g_65)) <= g_129[5][1])) | l_164) | p_45) >= p_45))) > 0x05CA6D599639025BLL) && (**l_159))), l_136[8])), p_45))) < g_129[1][3]), 6)) && g_24))
    { /* block id: 79 */
        uint8_t *l_171 = &g_129[4][2];
        int32_t l_180 = 1L;
        int64_t **l_181 = &l_155;
        int64_t *l_183 = (void*)0;
        int64_t **l_182 = &l_183;
        int32_t l_234 = 1L;
        int32_t l_237[3];
        uint64_t l_255[9][2][10] = {{{18446744073709551608UL,0x49E5E3E700611AE9LL,0x3C09CD686306A98ALL,0x5578851188113450LL,18446744073709551615UL,0xDD99563AFE0E653ELL,0x53EA8AC744170F00LL,18446744073709551615UL,0x7C797FE84C65A413LL,0x0B683A1FF8343CEFLL},{18446744073709551615UL,6UL,0UL,18446744073709551614UL,0xB341448471095100LL,0xDD99563AFE0E653ELL,1UL,0x53EA8AC744170F00LL,18446744073709551608UL,18446744073709551614UL}},{{18446744073709551608UL,0x0C42D20FE93C9D25LL,0xB0232917580A53CELL,0x53EA8AC744170F00LL,1UL,0UL,18446744073709551608UL,18446744073709551608UL,0UL,1UL},{1UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,0x0C0132F4C1B1E60FLL,0UL,0x49E5E3E700611AE9LL,0xB0232917580A53CELL,0x9DA714FB18FC98EELL,0x3C09CD686306A98ALL}},{{2UL,0xDE08E547FC5B3CACLL,0x0C0132F4C1B1E60FLL,18446744073709551613UL,1UL,0xE97BF971BCC6F9AELL,0UL,0x49E5E3E700611AE9LL,0x9DA714FB18FC98EELL,0UL},{18446744073709551614UL,0UL,6UL,18446744073709551615UL,0UL,18446744073709551608UL,18446744073709551608UL,0xDD99563AFE0E653ELL,18446744073709551608UL,0xDD99563AFE0E653ELL}},{{0xDE08E547FC5B3CACLL,7UL,2UL,0x49E5E3E700611AE9LL,2UL,7UL,0xDE08E547FC5B3CACLL,0x12BCC693499C1F7FLL,0UL,0x3C09CD686306A98ALL},{18446744073709551613UL,0x3C09CD686306A98ALL,0xB0232917580A53CELL,0x0C0132F4C1B1E60FLL,0x7C797FE84C65A413LL,0xB0232917580A53CELL,0UL,0xDE08E547FC5B3CACLL,0xE97BF971BCC6F9AELL,0x12BCC693499C1F7FLL}},{{18446744073709551614UL,0x3C09CD686306A98ALL,0x0C42D20FE93C9D25LL,0UL,18446744073709551608UL,1UL,0xDE08E547FC5B3CACLL,0x3C09CD686306A98ALL,18446744073709551608UL,0x7C797FE84C65A413LL},{1UL,7UL,18446744073709551613UL,18446744073709551608UL,0UL,0UL,18446744073709551608UL,18446744073709551613UL,7UL,1UL}},{{7UL,0UL,0xB0232917580A53CELL,0x12BCC693499C1F7FLL,0xDD99563AFE0E653ELL,2UL,0UL,18446744073709551608UL,0xB0232917580A53CELL,0xE97BF971BCC6F9AELL},{0x7C797FE84C65A413LL,0xDE08E547FC5B3CACLL,18446744073709551608UL,0UL,0xDD99563AFE0E653ELL,0x80A017429BFD1996LL,0x49E5E3E700611AE9LL,0xDD99563AFE0E653ELL,1UL,1UL}},{{0xDD99563AFE0E653ELL,0UL,7UL,0x7C797FE84C65A413LL,0UL,0x9DA714FB18FC98EELL,18446744073709551614UL,0x9DA714FB18FC98EELL,0UL,0x7C797FE84C65A413LL},{0x0C0132F4C1B1E60FLL,0x6214BE4D71671EE6LL,0x0C0132F4C1B1E60FLL,0x9DA714FB18FC98EELL,18446744073709551608UL,2UL,0xB0232917580A53CELL,18446744073709551614UL,2UL,0x12BCC693499C1F7FLL}},{{18446744073709551615UL,0xDD99563AFE0E653ELL,0x53EA8AC744170F00LL,18446744073709551615UL,0x7C797FE84C65A413LL,0x0B683A1FF8343CEFLL,0x49E5E3E700611AE9LL,18446744073709551614UL,0x80A017429BFD1996LL,0x3C09CD686306A98ALL},{1UL,18446744073709551613UL,0x0C0132F4C1B1E60FLL,0xDE08E547FC5B3CACLL,2UL,0xE97BF971BCC6F9AELL,0xDD99563AFE0E653ELL,0x9DA714FB18FC98EELL,0x9DA714FB18FC98EELL,0xDD99563AFE0E653ELL}},{{0xB0232917580A53CELL,0UL,7UL,7UL,0UL,0xB0232917580A53CELL,0x12BCC693499C1F7FLL,0xDD99563AFE0E653ELL,2UL,0UL},{0xDE08E547FC5B3CACLL,18446744073709551615UL,18446744073709551608UL,0x49E5E3E700611AE9LL,1UL,6UL,0xDE08E547FC5B3CACLL,18446744073709551608UL,0x0B683A1FF8343CEFLL,0x3C09CD686306A98ALL}}};
        int8_t l_311[7] = {0L,0L,0L,0L,0L,0L,0L};
        int64_t l_481[2];
        int16_t l_575 = 1L;
        uint64_t l_581[8][2][6] = {{{0xD8168DAC04D5F45ELL,3UL,0x895126586F728AD4LL,7UL,18446744073709551615UL,0xE90789506BDA3BBFLL},{0x009E736036B36BF6LL,0x895126586F728AD4LL,0x2FD2763A0B0ABFF9LL,7UL,0xD8168DAC04D5F45ELL,0xD8168DAC04D5F45ELL}},{{0xD8168DAC04D5F45ELL,1UL,1UL,0xD8168DAC04D5F45ELL,18446744073709551615UL,18446744073709551606UL},{18446744073709551608UL,0x009E736036B36BF6LL,0xE90789506BDA3BBFLL,5UL,0x2FD2763A0B0ABFF9LL,18446744073709551615UL}},{{0x11E6BBD948F8218FLL,7UL,0xD9A2F8F9676DDD72LL,18446744073709551615UL,0x2FD2763A0B0ABFF9LL,3UL},{18446744073709551615UL,0x009E736036B36BF6LL,0xD8168DAC04D5F45ELL,0x009E736036B36BF6LL,18446744073709551615UL,18446744073709551615UL}},{{0xD9A2F8F9676DDD72LL,0xD9A2F8F9676DDD72LL,0xD8168DAC04D5F45ELL,0xE90789506BDA3BBFLL,18446744073709551608UL,0x12173D1F541E479FLL},{0xD8168DAC04D5F45ELL,18446744073709551615UL,0x009E736036B36BF6LL,0xD9A2F8F9676DDD72LL,18446744073709551606UL,0x12173D1F541E479FLL}},{{0x2FD2763A0B0ABFF9LL,7UL,0xD8168DAC04D5F45ELL,0xD8168DAC04D5F45ELL,7UL,0x2FD2763A0B0ABFF9LL},{18446744073709551606UL,0x895126586F728AD4LL,18446744073709551608UL,18446744073709551610UL,0x11E6BBD948F8218FLL,7UL}},{{0x895126586F728AD4LL,0x009E736036B36BF6LL,0x11E6BBD948F8218FLL,18446744073709551615UL,18446744073709551615UL,5UL},{0x895126586F728AD4LL,0xE90789506BDA3BBFLL,18446744073709551615UL,18446744073709551610UL,18446744073709551615UL,0xE90789506BDA3BBFLL}},{{18446744073709551606UL,0x11E6BBD948F8218FLL,0xD9A2F8F9676DDD72LL,0xD8168DAC04D5F45ELL,0xE90789506BDA3BBFLL,18446744073709551608UL},{0x2FD2763A0B0ABFF9LL,18446744073709551615UL,18446744073709551610UL,0xD9A2F8F9676DDD72LL,0x12173D1F541E479FLL,18446744073709551615UL}},{{0xD8168DAC04D5F45ELL,18446744073709551615UL,18446744073709551615UL,0xE90789506BDA3BBFLL,0xE90789506BDA3BBFLL,18446744073709551615UL},{0x11E6BBD948F8218FLL,0x11E6BBD948F8218FLL,18446744073709551615UL,1UL,18446744073709551615UL,0x895126586F728AD4LL}}};
        uint32_t ***l_610 = &l_608;
        int32_t *l_611 = &l_237[2];
        int32_t *l_612 = &g_65;
        int32_t *l_613 = &l_237[0];
        int32_t *l_614 = &l_239[0];
        int32_t *l_615 = &l_158;
        int32_t *l_616 = &l_239[0];
        int32_t *l_617 = &l_239[0];
        int32_t *l_618 = (void*)0;
        int32_t *l_619 = &l_234;
        int32_t *l_620 = &l_236;
        int32_t *l_621 = &g_65;
        int32_t *l_622 = &l_180;
        int32_t *l_623 = &l_239[0];
        int32_t *l_624 = &g_65;
        int32_t *l_625 = &g_65;
        int32_t *l_626 = &l_158;
        int32_t *l_627 = &l_239[0];
        int32_t *l_628 = &l_239[0];
        int32_t *l_629 = &l_163;
        int32_t *l_630 = &l_180;
        int32_t *l_631 = &l_239[3];
        int32_t *l_632[8][6][5] = {{{(void*)0,&l_237[0],&l_239[0],(void*)0,&l_237[0]},{&l_239[0],&l_237[0],&l_239[0],&l_239[0],(void*)0},{&l_163,&g_64,&l_158,&l_180,&l_237[0]},{(void*)0,&g_64,&g_67,(void*)0,&g_64},{&l_237[0],&l_237[0],(void*)0,&l_180,(void*)0},{&l_237[0],&l_237[0],&l_158,&l_239[0],&g_67}},{{(void*)0,&g_67,(void*)0,(void*)0,&g_67},{&l_163,&l_237[0],&g_67,&l_158,(void*)0},{&l_239[0],&g_67,&l_158,&l_158,&g_64},{(void*)0,&l_237[0],&l_239[0],(void*)0,&l_237[0]},{&l_239[0],&l_237[0],&l_239[0],&l_239[0],(void*)0},{&l_163,&g_64,&l_158,&l_180,&l_237[0]}},{{(void*)0,&g_64,&g_67,(void*)0,&g_64},{&l_237[0],&l_237[0],(void*)0,&l_180,(void*)0},{&l_237[0],&l_237[0],&l_158,&l_239[0],&g_67},{(void*)0,&g_67,(void*)0,(void*)0,&g_67},{&l_163,&l_237[0],&g_67,&l_158,(void*)0},{&l_239[0],&g_67,&l_158,&l_158,&g_64}},{{(void*)0,&l_237[0],&l_239[0],(void*)0,&l_237[0]},{&l_239[0],&l_237[0],&l_239[0],&l_239[0],(void*)0},{&l_163,&g_64,&l_158,&l_180,&l_237[0]},{(void*)0,&g_64,&g_67,(void*)0,&g_64},{&l_237[0],&l_237[0],(void*)0,&l_180,(void*)0},{&l_237[0],&l_237[0],&l_158,&l_239[0],&g_67}},{{(void*)0,&g_67,(void*)0,(void*)0,&g_67},{&l_163,&l_237[0],&g_67,&l_158,(void*)0},{&l_239[0],&g_67,&l_237[0],(void*)0,&g_9},{&l_180,&l_164,(void*)0,(void*)0,&l_164},{&l_237[2],&l_236,(void*)0,&l_237[0],&l_163},{&l_163,&g_9,&l_237[0],&g_9,&l_164}},{{&l_180,&g_9,&l_236,(void*)0,&g_9},{&l_239[0],&l_236,(void*)0,&g_9,&l_163},{&l_239[0],&l_164,&l_237[0],&l_237[0],&l_180},{&l_180,&l_180,(void*)0,(void*)0,&l_180},{&l_163,&l_236,&l_236,(void*)0,&l_163},{&l_237[2],&l_180,&l_237[0],(void*)0,&g_9}},{{&l_180,&l_164,(void*)0,(void*)0,&l_164},{&l_237[2],&l_236,(void*)0,&l_237[0],&l_163},{&l_163,&g_9,&l_237[0],&g_9,&l_164},{&l_180,&g_9,&l_236,(void*)0,&g_9},{&l_239[0],&l_236,(void*)0,&g_9,&l_163},{&l_239[0],&l_164,&l_237[0],&l_237[0],&l_180}},{{&l_180,&l_180,(void*)0,(void*)0,&l_180},{&l_163,&l_236,&l_236,(void*)0,&l_163},{&l_237[2],&l_180,&l_237[0],(void*)0,&g_9},{&l_180,&l_164,(void*)0,(void*)0,&l_164},{&l_237[2],&l_236,(void*)0,&l_237[0],&l_163},{&l_163,&g_9,&l_237[0],&g_9,&l_164}}};
        int16_t l_633 = 0xF28BL;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_237[i] = 1L;
        for (i = 0; i < 2; i++)
            l_481[i] = 0x0D22350DFF940C8FLL;
        if ((((safe_lshift_func_int8_t_s_s(((void*)0 == l_171), 3)) , (**l_159)) , (safe_sub_func_int16_t_s_s(((safe_sub_func_int32_t_s_s((1UL < ((((*l_159) = (*g_69)) == (((safe_mul_func_int8_t_s_s((((*l_182) = ((((safe_div_func_uint64_t_u_u((g_157 , (((*l_181) = (((p_46 , l_180) , l_180) , &g_156)) != (void*)0)), l_180)) & 255UL) < g_65) , (void*)0)) == &g_156), g_9)) < g_129[8][1]) , &g_9)) == 255UL)), 0UL)) ^ 0x68CF8CBA6C989A69LL), 0x1A12L))))
        { /* block id: 83 */
            int32_t *l_186 = &g_67;
            int32_t l_224 = 8L;
            int32_t l_230 = 0x4D1DA3ECL;
            int32_t l_231 = (-6L);
            int32_t l_233[7][2][2] = {{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}},{{0x478757D1L,0xFB598AF3L},{0x478757D1L,0xFB598AF3L}}};
            int32_t l_287 = (-1L);
            uint16_t l_294 = 0UL;
            int16_t l_300 = 0x532FL;
            uint64_t l_307[6][8] = {{18446744073709551612UL,0x2B10208DEA3B1E53LL,18446744073709551612UL,0x45CE3B4DF4E63ADFLL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL,0x2B10208DEA3B1E53LL,18446744073709551612UL},{1UL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL,0x45CE3B4DF4E63ADFLL,1UL,1UL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL},{1UL,1UL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL,0x45CE3B4DF4E63ADFLL,1UL,1UL,0x45CE3B4DF4E63ADFLL},{18446744073709551612UL,0x45CE3B4DF4E63ADFLL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL,0x2B10208DEA3B1E53LL,18446744073709551612UL,0x45CE3B4DF4E63ADFLL,0x45CE3B4DF4E63ADFLL},{0x45CE3B4DF4E63ADFLL,0x2B10208DEA3B1E53LL,18446744073709551612UL,18446744073709551612UL,0x2B10208DEA3B1E53LL,0x45CE3B4DF4E63ADFLL,0x2B10208DEA3B1E53LL,18446744073709551612UL},{18446744073709551612UL,0x2B10208DEA3B1E53LL,18446744073709551612UL,0x45CE3B4DF4E63ADFLL,0x45CE3B4DF4E63ADFLL,18446744073709551612UL,0x2B10208DEA3B1E53LL,18446744073709551612UL}};
            uint8_t *l_308 = &g_129[2][4];
            int i, j, k;
            for (g_156 = 0; (g_156 > (-8)); g_156 = safe_sub_func_uint8_t_u_u(g_156, 9))
            { /* block id: 86 */
                uint32_t l_191[3][9][9] = {{{3UL,6UL,0UL,4UL,0UL,6UL,5UL,1UL,0UL},{0x37C9437CL,0UL,5UL,6UL,1UL,6UL,5UL,0UL,0x37C9437CL},{0x152D3AD3L,6UL,0x37C9437CL,1UL,4UL,4294967286UL,4UL,1UL,0x37C9437CL},{4UL,4UL,0x152D3AD3L,0xD2314F84L,0UL,3UL,0x37C9437CL,3UL,0UL},{0x152D3AD3L,4UL,4UL,0x152D3AD3L,0xD2314F84L,0UL,3UL,0x37C9437CL,3UL},{0x37C9437CL,6UL,0x152D3AD3L,0x152D3AD3L,6UL,0x37C9437CL,1UL,4UL,4294967286UL},{5UL,0UL,0x37C9437CL,0xD2314F84L,0xD2314F84L,0x37C9437CL,0UL,5UL,6UL},{4294967286UL,0x152D3AD3L,5UL,1UL,0UL,0UL,1UL,5UL,0x152D3AD3L},{0xD2314F84L,5UL,4294967286UL,6UL,4UL,3UL,3UL,4UL,6UL}},{{0xD2314F84L,0x2FE86CE7L,0xD2314F84L,3UL,1UL,4294967286UL,0x37C9437CL,0x37C9437CL,4294967286UL},{4294967286UL,5UL,0xD2314F84L,5UL,4294967286UL,6UL,4UL,3UL,3UL},{5UL,0x152D3AD3L,4294967286UL,3UL,4294967286UL,0x152D3AD3L,5UL,1UL,0UL},{0x37C9437CL,0UL,5UL,6UL,1UL,6UL,5UL,0UL,0x37C9437CL},{0x152D3AD3L,6UL,0x37C9437CL,1UL,4UL,4294967286UL,4UL,1UL,0x37C9437CL},{4UL,4UL,0x152D3AD3L,0xD2314F84L,0UL,3UL,0x37C9437CL,3UL,0UL},{0x152D3AD3L,4UL,4UL,0x152D3AD3L,0xD2314F84L,0UL,3UL,0x37C9437CL,3UL},{0x37C9437CL,6UL,0x152D3AD3L,0x152D3AD3L,6UL,0x37C9437CL,1UL,4UL,4294967286UL},{5UL,0UL,0x37C9437CL,0xD2314F84L,0xD2314F84L,0x37C9437CL,0UL,5UL,6UL}},{{4294967286UL,0x152D3AD3L,5UL,1UL,0UL,0UL,1UL,5UL,0x152D3AD3L},{0xD2314F84L,5UL,4294967286UL,6UL,4UL,3UL,3UL,4UL,6UL},{0xD2314F84L,0x2FE86CE7L,0xD2314F84L,3UL,1UL,4294967286UL,0x37C9437CL,0x37C9437CL,4294967286UL},{4294967286UL,5UL,0xD2314F84L,5UL,4294967286UL,6UL,4UL,3UL,5UL},{0x2FE86CE7L,4UL,0x37C9437CL,5UL,0x37C9437CL,4UL,0x2FE86CE7L,0UL,4294967286UL},{0xD2314F84L,4294967286UL,0x2FE86CE7L,0x152D3AD3L,0UL,0x152D3AD3L,0x2FE86CE7L,4294967286UL,0xD2314F84L},{4UL,0x152D3AD3L,0xD2314F84L,0UL,3UL,0x37C9437CL,3UL,0UL,0xD2314F84L},{3UL,3UL,4UL,6UL,4294967286UL,5UL,0xD2314F84L,5UL,4294967286UL},{4UL,3UL,3UL,4UL,6UL,4294967286UL,5UL,0xD2314F84L,5UL}}};
                int32_t l_223 = 0x5FB30261L;
                int32_t l_238[3];
                int i, j, k;
                for (i = 0; i < 3; i++)
                    l_238[i] = 0x1CDDB0EEL;
                for (g_168 = 3; (g_168 >= 0); g_168 -= 1)
                { /* block id: 89 */
                    for (p_45 = 0; (p_45 <= 8); p_45 += 1)
                    { /* block id: 92 */
                        return l_186;
                    }
                    return (*g_69);
                }
                for (g_75 = 0; (g_75 >= 50); g_75 = safe_add_func_uint16_t_u_u(g_75, 3))
                { /* block id: 99 */
                    int8_t * const *l_194 = &l_167;
                    int8_t * const **l_195[2];
                    int8_t * const l_197 = (void*)0;
                    int8_t * const *l_196[8] = {&l_197,&l_197,&l_197,&l_197,&l_197,&l_197,&l_197,&l_197};
                    uint32_t *l_218 = (void*)0;
                    uint32_t *l_219 = (void*)0;
                    uint32_t *l_220 = &g_80;
                    uint8_t **l_221 = &l_171;
                    int i;
                    for (i = 0; i < 2; i++)
                        l_195[i] = &l_194;
                    if ((**g_69))
                        break;
                    for (l_164 = 0; (l_164 < (-17)); l_164--)
                    { /* block id: 103 */
                        (*l_159) = (*g_69);
                        --l_191[1][3][7];
                    }
                    g_198 = (l_196[0] = l_194);
                    (*g_70) = (safe_add_func_uint64_t_u_u(((((((((safe_mod_func_int32_t_s_s(((((void*)0 == l_144) >= (g_9 < p_47)) || ((safe_rshift_func_uint32_t_u_u((safe_lshift_func_uint32_t_u_u((((*l_221) = ((((+g_75) , 0x21EB8B61L) & ((*l_220) = ((safe_mod_func_int32_t_s_s((safe_div_func_int8_t_s_s(((*l_144) &= ((safe_mul_func_int8_t_s_s((~0xA071L), ((g_24 || (safe_div_func_uint32_t_u_u((&p_47 == (void*)0), 0x97552E39L))) || 5L))) >= p_46)), (**l_159))), 0x387D5A15L)) < l_191[0][7][5]))) , (void*)0)) == (void*)0), g_157)), 4)) & g_222[1])), 0xACB05E1EL)) && g_63[0]) && l_223) <= (**l_159)) && l_223) <= 0xCDA15603440106B7LL) == (*g_70)) , 0xA9CDA35C18D9A809LL), 9UL));
                }
                for (g_65 = 0; (g_65 <= 4); g_65 += 1)
                { /* block id: 116 */
                    int32_t *l_225 = &l_163;
                    int32_t *l_226 = (void*)0;
                    int32_t *l_227 = &l_224;
                    int32_t *l_228 = &g_64;
                    int32_t *l_229[1][1][9] = {{{&l_164,&l_180,&l_164,&l_164,&l_180,&l_164,&l_164,&l_180,&l_164}}};
                    int i, j, k;
                    (*l_159) = (*g_69);
                    --g_240;
                    for (l_232 = 8; (l_232 >= 0); l_232 -= 1)
                    { /* block id: 121 */
                        if (l_164)
                            goto lbl_243;
                    }
                }
            }
            for (l_234 = 0; (l_234 > (-13)); l_234 = safe_sub_func_uint8_t_u_u(l_234, 6))
            { /* block id: 128 */
                uint64_t l_246 = 6UL;
                int32_t *l_249 = &l_239[2];
                int32_t *l_250 = &l_230;
                int32_t *l_251 = &l_237[2];
                int32_t *l_252 = &l_239[4];
                int32_t *l_253 = &l_163;
                int32_t *l_254[4] = {&l_236,&l_236,&l_236,&l_236};
                int i;
                l_246++;
                l_255[1][0][4]--;
                for (g_156 = 0; (g_156 <= 1); g_156 += 1)
                { /* block id: 133 */
                    uint32_t *l_258 = &g_259[3][1];
                    const uint8_t *l_279[8];
                    const uint8_t **l_278 = &l_279[3];
                    int8_t **l_280 = &l_167;
                    int32_t l_281 = 0x2670C1B3L;
                    uint8_t l_282 = 0x79L;
                    int32_t l_283 = 0xD0FD5C3FL;
                    int32_t l_288 = (-10L);
                    int32_t l_289 = (-4L);
                    int16_t l_290 = 5L;
                    int32_t l_291 = 0x52BE7E91L;
                    int32_t l_292 = 0x57324DE2L;
                    int32_t l_293 = 0L;
                    int i;
                    for (i = 0; i < 8; i++)
                        l_279[i] = (void*)0;
                    l_237[2] = ((*l_253) &= ((*g_70) = ((((l_281 &= (7UL > ((((18446744073709551615UL ^ (g_67 , (&g_199 == ((((++(*l_258)) , (-1L)) | ((safe_lshift_func_int16_t_s_u((safe_mul_func_uint8_t_u_u((safe_mod_func_int8_t_s_s(((safe_lshift_func_int32_t_s_s((*g_70), (!((safe_rshift_func_uint16_t_u_u((((0x98L || (safe_sub_func_uint64_t_u_u((*l_186), (safe_mod_func_uint16_t_u_u(6UL, 2L))))) , g_277) == l_278), 15)) <= 0xF32E9D030D9EC731LL)))) != p_48), p_46)), (*l_251))), 6)) <= g_64)) , l_280)))) & p_48) && 0x34F8L) , g_129[4][2]))) , (**g_198)) && l_180) || l_282)));
                    for (l_246 = 0; (l_246 <= 1); l_246 += 1)
                    { /* block id: 141 */
                        int i, j, k;
                        l_284[3][1][0]--;
                        (*l_159) = (*g_69);
                    }
                    --l_294;
                    if (((**l_159) = 0x1F7D0080L))
                    { /* block id: 147 */
                        uint64_t l_297 = 1UL;
                        --l_297;
                        return (*g_69);
                    }
                    else
                    { /* block id: 150 */
                        if ((*g_66))
                            break;
                        if (p_46)
                            continue;
                        (*l_186) = l_300;
                    }
                }
                if (l_246)
                    goto lbl_243;
            }
            l_180 |= (((safe_sub_func_uint32_t_u_u(l_255[1][0][4], (p_48 | (l_255[1][0][4] <= p_47)))) ^ (g_259[2][3] , (safe_rshift_func_uint16_t_u_u((safe_sub_func_uint8_t_u_u(((*l_186) ^= ((*l_308) &= l_307[4][2])), (((l_312[0] = (safe_mod_func_uint8_t_u_u(((**l_159) = l_311[5]), g_166))) , (safe_sub_func_uint32_t_u_u(((((((safe_add_func_uint16_t_u_u(((safe_mod_func_uint8_t_u_u(l_319[1][2], 0x9EL)) , p_48), p_47)) & p_46) , p_46) > 0x2DL) > 0x08FF619EL) , g_166), 0x801A0375L))) != p_46))), g_108)))) , p_45);
        }
        else
        { /* block id: 163 */
            uint64_t l_326 = 1UL;
            uint32_t *l_335 = &g_259[3][1];
            const int8_t l_376 = (-1L);
            int32_t l_384[6];
            int8_t * const *l_422 = &g_199;
            int32_t l_456 = 3L;
            uint8_t **l_475 = &l_171;
            uint8_t ***l_474 = &l_475;
            uint32_t l_486 = 0x607085C5L;
            uint32_t l_512[9][10][2] = {{{0xB27C5EDAL,0x35694B5AL},{18446744073709551613UL,4UL},{0x962AACFCL,0xC104C878L},{0UL,1UL},{0x5788755FL,18446744073709551615UL},{0xB27C5EDAL,0xCF705136L},{1UL,18446744073709551609UL},{0x780E2DE9L,0UL},{0xADD7EC4FL,0x0FA9FBD1L},{0UL,0xCB9284CCL}},{{0UL,0xCB9284CCL},{0UL,0x0FA9FBD1L},{0xADD7EC4FL,0UL},{0x780E2DE9L,18446744073709551609UL},{1UL,0xCF705136L},{0xB27C5EDAL,18446744073709551615UL},{0x5788755FL,1UL},{0UL,0xC104C878L},{0x962AACFCL,4UL},{18446744073709551613UL,0x35694B5AL}},{{0xB27C5EDAL,0x595764D0L},{0UL,0xB27C5EDAL},{0xBEA3B012L,0UL},{0x27BA272DL,0UL},{0UL,6UL},{0UL,0x35694B5AL},{18446744073709551608UL,0xA9F02061L},{0x962AACFCL,0UL},{0xC104C878L,1UL},{0xABE0E9D7L,0x874AF0E6L}},{{0xB27C5EDAL,8UL},{0xB5D7D163L,18446744073709551609UL},{0x52334DEEL,0xC104C878L},{0xADD7EC4FL,0x7489F152L},{0x73015F71L,0xCB9284CCL},{0xB27C5EDAL,18446744073709551615UL},{0UL,0x7489F152L},{0x43F9D9CBL,0UL},{0x52334DEEL,0x4AA977A7L},{1UL,8UL}},{{0UL,18446744073709551615UL},{0xABE0E9D7L,18446744073709551615UL},{0UL,0UL},{9UL,4UL},{18446744073709551608UL,0x49CA3CFDL},{0xB27C5EDAL,6UL},{18446744073709551610UL,0xB27C5EDAL},{0x27BA272DL,0xC104C878L},{0x27BA272DL,0xB27C5EDAL},{18446744073709551610UL,6UL}},{{0xB27C5EDAL,0x49CA3CFDL},{18446744073709551608UL,4UL},{9UL,0UL},{0UL,18446744073709551615UL},{0xABE0E9D7L,18446744073709551615UL},{0UL,8UL},{1UL,0x4AA977A7L},{0x52334DEEL,0UL},{0x43F9D9CBL,0x7489F152L},{0UL,18446744073709551615UL}},{{0xB27C5EDAL,0xCB9284CCL},{0x73015F71L,0x7489F152L},{0x4AA977A7L,0xE384574AL},{18446744073709551615UL,18446744073709551613UL},{18446744073709551613UL,9UL},{0x73015F71L,1UL},{0xB7442E03L,0x5788755FL},{0xE384574AL,0UL},{0xA9F02061L,18446744073709551615UL},{0x5D4F49BBL,0x780E2DE9L}},{{0x6EBD6B09L,0x43F9D9CBL},{2UL,0x6EBD6B09L},{0x0FA9FBD1L,0UL},{18446744073709551611UL,0x73015F71L},{2UL,0x3DDED813L},{0x73015F71L,0x780E2DE9L},{18446744073709551609UL,0xB5D7D163L},{0xA9F02061L,0xE384574AL},{0UL,0x5788755FL},{0xD68E0D74L,0xC104C878L}},{{0x73015F71L,0xD66C7B95L},{3UL,18446744073709551613UL},{0xDCC382CDL,0UL},{0x4AA977A7L,0UL},{5UL,0xBEA3B012L},{0x6EBD6B09L,0xBEA3B012L},{5UL,0UL},{0x4AA977A7L,0UL},{0xDCC382CDL,18446744073709551613UL},{3UL,0xD66C7B95L}}};
            int64_t l_533 = 0xBA8E7E13FE826677LL;
            uint32_t l_535 = 0UL;
            int64_t **l_563[1];
            uint32_t l_564 = 0xDE57CDF1L;
            const uint32_t *l_567 = &l_486;
            int8_t l_574[3];
            int32_t *l_605 = &l_180;
            int32_t *l_607 = (void*)0;
            int i, j, k;
            for (i = 0; i < 6; i++)
                l_384[i] = 0x605E9866L;
            for (i = 0; i < 1; i++)
                l_563[i] = (void*)0;
            for (i = 0; i < 3; i++)
                l_574[i] = 1L;
            if ((safe_div_func_uint8_t_u_u(((safe_mod_func_uint32_t_u_u((safe_rshift_func_int64_t_s_u((((l_326 && (**g_198)) , 0xA0F49EA9L) | (p_48 , ((safe_rshift_func_uint8_t_u_s(l_237[0], 7)) && (safe_mul_func_uint64_t_u_u((65530UL <= (safe_add_func_int64_t_s_s(((((safe_add_func_int32_t_s_s(((((-1L) < (**l_159)) || (l_335 == &l_284[3][1][0])) == l_326), 0x482D0FDDL)) <= p_47) | (*g_66)) == (**g_198)), g_129[4][2]))), l_237[0]))))), 40)), p_45)) < 5L), p_45)))
            { /* block id: 164 */
                int32_t l_345 = 0xADCA9E4AL;
                uint8_t *l_354 = &g_75;
                uint8_t l_355 = 255UL;
                int32_t l_390 = 0xBD0E4E40L;
                int32_t l_391 = 0x8ECFF052L;
                int32_t l_392 = (-1L);
                int32_t l_483 = 0L;
                int32_t l_484 = 0x6C5F6E89L;
                int32_t l_485[1];
                int8_t l_505[1][7] = {{0xC1L,0xC1L,3L,0xC1L,0xC1L,3L,0xC1L}};
                int16_t l_508 = 0x2A01L;
                uint32_t *l_523[4] = {&g_80,&g_80,&g_80,&g_80};
                uint32_t *l_534 = &l_486;
                int64_t **l_540 = &l_183;
                uint64_t l_576 = 0x425838CCFCDDBF1BLL;
                int8_t l_580 = 9L;
                int i, j;
                for (i = 0; i < 1; i++)
                    l_485[i] = 0x4434E24FL;
                if ((safe_sub_func_uint16_t_u_u(((safe_sub_func_int64_t_s_s(((**l_181) = (!(safe_rshift_func_int16_t_s_u(((p_45 < (safe_mul_func_uint16_t_u_u(l_345, (g_240 ^= 0x58FEL)))) , (safe_rshift_func_int64_t_s_s((~(safe_lshift_func_int64_t_s_s((((safe_sub_func_uint8_t_u_u(((*l_171) = g_108), l_353)) , 1UL) == ((((0x97B3L && (((*l_354) |= (((**l_159) = (((void*)0 != &g_24) , (**l_159))) , l_326)) ^ (*g_199))) && l_345) > g_63[3]) || l_355)), l_326))), 21))), p_48)))), l_326)) || 2L), p_45)))
                { /* block id: 170 */
                    uint16_t l_356[2][2][2] = {{{1UL,9UL},{9UL,1UL}},{{9UL,9UL},{1UL,9UL}}};
                    int i, j, k;
                    l_356[1][1][1] = (**l_159);
                }
                else
                { /* block id: 172 */
                    uint32_t *l_383 = &g_80;
                    int32_t l_385 = 0x293F3C21L;
                    int8_t **l_424 = &l_167;
                    int8_t ***l_423 = &l_424;
                    l_385 = ((((safe_add_func_uint16_t_u_u((safe_rshift_func_uint64_t_u_u((--g_166), (g_386[6] = ((((p_46 >= (safe_mod_func_int64_t_s_s(((*l_155) = (safe_mul_func_uint8_t_u_u((safe_div_func_int32_t_s_s((safe_mod_func_uint32_t_u_u(((+(((((((*l_160) &= (safe_mod_func_uint16_t_u_u((safe_unary_minus_func_uint16_t_u(65535UL)), (l_384[3] &= (((p_48 >= (+p_46)) & (((*l_383) = (p_45 & (l_376 && (safe_lshift_func_uint16_t_u_s((safe_add_func_uint32_t_u_u((((safe_sub_func_uint16_t_u_u((g_108 , ((g_75 < ((((l_326 || l_376) , p_45) & g_63[0]) , g_80)) ^ (-1L))), g_240)) < p_46) < l_311[5]), l_345)), l_355))))) != 0x76DA6CB8L)) > 0xCF84908CL))))) != 6L) | (-1L)) > 0x35L) , g_162) <= p_46)) && 0x9DL), p_46)), (-9L))), 0xD6L))), g_168))) | 0xD2B40A93L) , l_385) | 0x7B0FA2B4C903916DLL)))), (-5L))) || 7UL) <= 18446744073709551615UL) || (**l_159));
                    for (g_156 = 0; (g_156 == (-16)); g_156 = safe_sub_func_int8_t_s_s(g_156, 6))
                    { /* block id: 182 */
                        int32_t *l_389[8];
                        int i;
                        for (i = 0; i < 8; i++)
                            l_389[i] = &l_163;
                        l_393[0]--;
                        (*l_159) = (l_255[1][0][4] , (*g_69));
                        (*g_70) |= (g_162 < 0x6DEAL);
                    }
                    for (g_67 = (-3); (g_67 < 10); g_67++)
                    { /* block id: 189 */
                        int8_t **l_399[6] = {&l_167,(void*)0,(void*)0,&l_167,(void*)0,(void*)0};
                        int8_t ***l_398 = &l_399[5];
                        int32_t l_405 = 0x3A3B5EDEL;
                        int32_t *l_416 = &l_237[0];
                        int i;
                        (*g_70) = ((((*l_398) = (void*)0) != &l_144) , (((void*)0 == &l_385) | p_46));
                        (*l_416) ^= ((*g_70) = (safe_unary_minus_func_uint32_t_u((safe_mod_func_uint64_t_u_u((~(((*l_160) ^= (safe_unary_minus_func_int8_t_s((((void*)0 != &g_80) , p_48)))) > (0x0D20FDDF2EE573C3LL >= ((l_405 || (safe_sub_func_int8_t_s_s(((safe_add_func_uint16_t_u_u((0L && (safe_div_func_int8_t_s_s((**g_198), (safe_sub_func_int16_t_s_s(((**g_69) , (safe_rshift_func_int32_t_s_u(l_385, 22))), g_386[6]))))), g_386[6])) >= p_47), (**g_198)))) ^ 0x7BECL)))), l_385)))));
                        if ((*g_66))
                            continue;
                        (*l_416) = (safe_rshift_func_uint16_t_u_u(g_168, p_47));
                    }
                    (*g_70) ^= ((((safe_mul_func_uint64_t_u_u(0UL, g_80)) == ((*l_171) = l_255[1][0][1])) ^ (l_384[1] > (((+(l_422 == ((*l_423) = (void*)0))) , (((g_67 > g_108) == (safe_mod_func_int64_t_s_s((((safe_sub_func_uint16_t_u_u(0xEA08L, 65535UL)) <= l_429[7]) ^ g_108), l_345))) >= p_48)) >= 0x89L))) >= 3UL);
                }
                for (l_355 = (-18); (l_355 <= 34); ++l_355)
                { /* block id: 204 */
                    int64_t l_458[2];
                    int32_t l_462 = 0L;
                    int32_t l_463 = (-1L);
                    int32_t *l_476 = &l_180;
                    int32_t *l_477 = &l_462;
                    int32_t *l_478 = &l_237[0];
                    int32_t *l_479 = &l_237[0];
                    int32_t *l_480[3];
                    int i;
                    for (i = 0; i < 2; i++)
                        l_458[i] = 0x2A02A47BCB2FD846LL;
                    for (i = 0; i < 3; i++)
                        l_480[i] = &l_390;
                    if ((&g_386[6] != (void*)0))
                    { /* block id: 205 */
                        uint8_t l_432 = 1UL;
                        uint8_t ***l_439 = (void*)0;
                        uint8_t ***l_440 = (void*)0;
                        uint8_t **l_442 = &l_171;
                        uint8_t ***l_441 = &l_442;
                        const uint8_t *l_452 = &g_453;
                        const uint8_t **l_451 = &l_452;
                        int32_t *l_457 = &l_239[0];
                        (*g_70) = ((l_432 >= ((safe_mul_func_uint8_t_u_u(l_237[2], (safe_mod_func_int16_t_s_s(g_162, 0x90C5L)))) > (l_432 >= g_240))) <= ((safe_mod_func_int16_t_s_s(l_237[2], g_240)) ^ (((*l_441) = &l_171) != g_277)));
                        if (l_432)
                            break;
                        (*l_457) &= (((safe_rshift_func_int32_t_s_s((((safe_add_func_uint64_t_u_u((0L < 0x36EA0924L), 0xE219B264FBFB7129LL)) , (safe_mul_func_int16_t_s_s(0L, (((safe_sub_func_int64_t_s_s(((((*l_451) = &p_48) != (p_46 , &p_48)) | ((l_456 = ((safe_add_func_uint8_t_u_u(p_47, ((l_384[3] ^= (g_240 , 0x97BBC22FL)) , p_46))) , l_432)) ^ (-1L))), l_311[5])) & l_432) , 0xDA63L)))) , (-2L)), l_237[1])) || (**l_159)) >= p_47);
                        if (p_48)
                            continue;
                    }
                    else
                    { /* block id: 214 */
                        int32_t *l_459 = (void*)0;
                        int32_t *l_460 = &l_392;
                        int32_t *l_461[6][2][2] = {{{&g_64,&l_180},{&l_164,(void*)0}},{{&g_65,&l_164},{(void*)0,&l_180}},{{(void*)0,&l_164},{&g_65,(void*)0}},{{&l_164,&l_180},{&g_64,&g_64}},{{&g_65,&g_64},{&g_64,&l_180}},{{&l_164,(void*)0},{&g_65,&l_164}}};
                        uint32_t l_464 = 0x50DDE701L;
                        int i, j, k;
                        (**l_159) |= 0x0482F9EEL;
                        l_464++;
                        (**l_159) = (*g_70);
                        (*g_70) |= ((safe_mod_func_uint8_t_u_u(g_63[3], p_48)) && ((p_48 <= p_47) != ((l_311[2] ^ (safe_rshift_func_int16_t_s_s(p_46, p_48))) > (safe_unary_minus_func_int32_t_s(((l_474 == &g_277) ^ (-4L)))))));
                    }
                    if (l_384[0])
                        break;
                    l_486++;
                }
                for (g_67 = 0; (g_67 <= 0); g_67 += 1)
                { /* block id: 225 */
                    int32_t *l_489[7][1];
                    uint8_t l_490 = 2UL;
                    int16_t *l_565 = &g_386[0];
                    int i, j;
                    for (i = 0; i < 7; i++)
                    {
                        for (j = 0; j < 1; j++)
                            l_489[i][j] = &l_384[3];
                    }
                    l_490++;
                    if ((&l_311[(g_67 + 6)] == ((safe_sub_func_int8_t_s_s(((safe_sub_func_int8_t_s_s((((p_46 <= p_47) != p_47) ^ ((safe_mod_func_int64_t_s_s((g_499[1] == &g_500), (((safe_add_func_int16_t_s_s((**l_159), ((safe_rshift_func_uint32_t_u_u(((**l_159) == (4294967295UL == (**l_159))), p_45)) | l_485[0]))) != l_345) || l_456))) == (**l_159))), p_47)) | (*g_66)), (-1L))) , (*l_422))))
                    { /* block id: 227 */
                        int32_t l_506 = 0xCD6435B4L;
                        int32_t l_507[1][5] = {{0xA42099E1L,0xA42099E1L,0xA42099E1L,0xA42099E1L,0xA42099E1L}};
                        uint32_t l_509 = 0x127949E6L;
                        int i, j;
                        if (p_45)
                            break;
                        l_509--;
                        (**l_159) = p_47;
                        l_512[8][1][0]--;
                    }
                    else
                    { /* block id: 232 */
                        uint32_t **l_524 = &l_523[0];
                        int i;
                        (*l_159) = &l_485[0];
                        l_234 ^= ((*g_199) < (l_311[(g_67 + 3)] = ((safe_lshift_func_uint8_t_u_s((g_65 , (((safe_add_func_int32_t_s_s(0x36DA8588L, (((((p_45 || (((**l_159) > (8UL != (((l_393[g_67]++) ^ ((safe_mul_func_uint16_t_u_u(0x761AL, (((((*l_524) = l_523[0]) == ((l_390 ^= ((l_484 = (safe_mul_func_int8_t_s_s(((((g_162 ^= (--g_240)) && (safe_sub_func_uint64_t_u_u(((g_162--) & (((4294967295UL & l_384[1]) <= 0xE5L) <= l_512[8][1][0])), p_46))) == l_391) , l_533), l_180))) | g_75)) , l_534)) || l_237[1]) <= 1L))) , 4L)) <= g_386[6]))) >= 0x99L)) == 65531UL) <= (**l_159)) & l_483) <= (*g_500)))) , &l_508) == (void*)0)), 1)) >= g_482)));
                        l_237[1] |= (*g_70);
                        l_535--;
                    }
                    if ((((*l_144) = (((*l_160) &= (safe_rshift_func_int32_t_s_u(((void*)0 == l_540), 4))) < (l_234 = (safe_add_func_uint16_t_u_u((safe_mul_func_int64_t_s_s((-6L), (safe_lshift_func_uint32_t_u_u((~(safe_lshift_func_uint64_t_u_u((0UL < (safe_lshift_func_uint32_t_u_s((safe_add_func_int64_t_s_s((l_180 = (safe_mod_func_int8_t_s_s((((~(safe_div_func_int16_t_s_s((~(l_237[0] |= ((*l_565) = (l_456 = ((1L ^ ((((((+((*g_500) = ((g_259[3][1] , ((p_47 & (safe_mod_func_int16_t_s_s(((p_48 || ((void*)0 != l_563[0])) >= (**g_69)), p_46))) <= l_390)) && p_47))) , (**l_159)) <= (*g_70)) | p_45) , 0x8640L) , g_64)) != l_564))))), g_80))) < g_129[8][4]) > 1UL), p_45))), p_46)), l_481[1]))), p_46))), 12)))), (-1L)))))) ^ 255UL))
                    { /* block id: 254 */
                        int32_t *l_566 = (void*)0;
                        return l_566;
                    }
                    else
                    { /* block id: 256 */
                        (**l_159) = (**g_69);
                    }
                    (**l_159) ^= ((((*l_160) = ((((((void*)0 == l_567) , (-8L)) == 0UL) | (((safe_add_func_uint8_t_u_u(0UL, (&l_144 != l_422))) <= (0x0721L >= g_386[5])) || (-1L))) <= (-1L))) == 0x38D7L) , (-10L));
                    for (l_390 = 2; (l_390 >= 0); l_390 -= 1)
                    { /* block id: 263 */
                        int32_t l_572 = (-1L);
                        int32_t l_573[2][6] = {{0x0E0A7AB1L,0x0E0A7AB1L,5L,0L,5L,0x0E0A7AB1L},{5L,6L,0L,0L,6L,5L}};
                        int i, j;
                        --l_576;
                        l_581[2][1][3]++;
                    }
                }
                for (l_533 = 0; (l_533 < (-11)); --l_533)
                { /* block id: 270 */
                    int32_t *l_586 = &l_483;
                    return l_587;
                }
            }
            else
            { /* block id: 273 */
                int8_t l_592 = (-4L);
                int32_t *l_606[9][4] = {{(void*)0,(void*)0,&l_234,(void*)0},{(void*)0,&l_239[3],&l_239[3],(void*)0},{&l_239[3],(void*)0,&l_239[3],&l_239[3]},{(void*)0,(void*)0,&l_234,(void*)0},{(void*)0,&l_239[3],&l_239[3],(void*)0},{&l_239[3],(void*)0,&l_239[3],&l_239[3]},{(void*)0,(void*)0,&l_234,(void*)0},{(void*)0,&l_239[3],&l_239[3],(void*)0},{&l_239[3],(void*)0,&l_239[3],&l_239[3]}};
                int i, j;
                for (g_75 = 0; (g_75 <= 1); g_75 += 1)
                { /* block id: 276 */
                    int32_t l_602 = 0x1027D8F9L;
                    uint32_t *l_603 = (void*)0;
                    int32_t l_604 = 0x033FC72DL;
                    if ((safe_rshift_func_uint8_t_u_u(p_46, (safe_add_func_uint32_t_u_u(p_45, ((((l_592 | (~((((**l_475) = 7UL) | (~((((*l_165) = ((((l_384[3] ^= ((((((*g_69) != (*l_159)) >= (safe_div_func_int64_t_s_s((g_259[1][1] == (safe_mod_func_int64_t_s_s(((*l_155) = (((safe_unary_minus_func_uint16_t_u((p_46 == (safe_sub_func_uint32_t_u_u(((&g_156 == &g_156) , l_592), p_48))))) > (*g_500)) , p_46)), l_602))), p_45))) >= 18446744073709551612UL) >= 0x0A051CF3L) , g_240)) ^ l_602) >= 0x7A6AL) && g_482)) >= p_45) > g_259[3][1]))) , g_64))) > 0x2CA6L) < l_604) >= p_45))))))
                    { /* block id: 281 */
                        return (*l_159);
                    }
                    else
                    { /* block id: 283 */
                        return (*g_69);
                    }
                }
            }
            return l_607;
        }
        (*l_610) = l_608;
        l_634[5][3][0]--;
        return (*g_69);
    }
    else
    { /* block id: 293 */
        uint32_t *l_637 = (void*)0;
        uint32_t *l_638[4][7] = {{&g_80,(void*)0,&l_393[0],(void*)0,&g_80,(void*)0,&g_80},{&l_319[1][2],&l_393[0],&l_393[0],&l_319[1][2],&l_393[0],&l_393[0],&l_319[1][2]},{(void*)0,(void*)0,(void*)0,&l_319[0][4],&g_80,&l_319[0][4],(void*)0},{&l_319[1][2],&l_319[1][2],&g_80,&l_319[1][2],&l_319[1][2],&g_80,&l_319[1][2]}};
        int32_t l_639 = 0x9BC36F4DL;
        uint32_t ***l_640[6][3][2] = {{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}},{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}},{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}},{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}},{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}},{{&l_608,&l_608},{&l_608,&l_608},{&l_608,&l_608}}};
        uint32_t ****l_644 = &g_641;
        uint32_t ***l_646 = &l_608;
        uint32_t ****l_645 = &l_646;
        const uint8_t *l_657 = &g_129[4][2];
        int8_t **l_668 = &l_167;
        uint16_t *l_687 = &l_353;
        int32_t l_707 = 0L;
        int32_t l_708 = 0xCF2AE791L;
        int32_t l_717 = (-5L);
        int32_t l_721 = (-3L);
        int32_t l_724 = 2L;
        int32_t l_725 = (-9L);
        int32_t l_729 = (-7L);
        int32_t l_733 = 1L;
        int i, j, k;
        if ((((l_639 = (p_45 |= (g_80 = p_47))) != ((l_640[2][2][0] == ((*l_645) = ((*l_644) = g_641))) != (safe_lshift_func_int64_t_s_s((safe_lshift_func_uint8_t_u_u(((*l_159) == (*l_159)), ((void*)0 != (*l_608)))), 26)))) ^ (((safe_rshift_func_uint32_t_u_u((safe_mul_func_uint64_t_u_u(((*l_165)--), ((void*)0 != l_657))), 28)) , 0x07L) | p_46)))
        { /* block id: 300 */
            const int32_t l_658 = 1L;
            int32_t l_669 = 0x4D46DB5AL;
            uint32_t * const *l_677[3][9] = {{&g_643,&l_609,&g_643,&l_609,(void*)0,(void*)0,(void*)0,&l_609,&g_643},{&g_643,&g_643,(void*)0,&g_643,&l_609,&l_609,(void*)0,&g_643,(void*)0},{&g_643,&g_643,&l_609,&l_609,&g_643,&g_643,&g_643,&g_643,&g_643}};
            uint32_t * const **l_676 = &l_677[0][0];
            uint32_t * const ***l_675 = &l_676;
            uint16_t *l_685[7];
            int i, j;
            for (i = 0; i < 7; i++)
                l_685[i] = &l_353;
            (**l_159) |= p_46;
lbl_689:
            l_639 = p_47;
            if (l_658)
            { /* block id: 303 */
                const int32_t *l_659 = (void*)0;
                (*g_662) = l_659;
                (*l_159) = (*g_69);
                (**l_159) |= p_46;
            }
            else
            { /* block id: 307 */
                for (g_80 = 0; (g_80 == 40); g_80 = safe_add_func_uint64_t_u_u(g_80, 3))
                { /* block id: 310 */
                    for (p_48 = 0; (p_48 <= 2); p_48 += 1)
                    { /* block id: 313 */
                        int8_t **l_665[8][4][8] = {{{&l_167,&g_199,&l_167,(void*)0,&l_144,(void*)0,&g_199,&l_144},{(void*)0,&l_144,&l_167,(void*)0,&g_199,&l_167,&l_144,&g_199},{&l_144,&g_199,(void*)0,&l_167,&g_199,&g_199,&l_167,&l_144},{&g_199,(void*)0,(void*)0,&l_167,(void*)0,&l_144,&l_167,&l_144}},{{&l_144,&l_144,&l_144,&l_167,&l_144,&l_144,&l_144,&l_167},{&l_144,&l_167,&g_199,&l_167,&g_199,&l_144,&l_167,&l_167},{&l_144,&l_144,&g_199,&l_167,&g_199,&l_144,&l_167,&l_167},{&l_144,&l_167,&l_167,&l_167,&l_144,&g_199,&l_167,(void*)0}},{{&l_144,&l_144,&l_144,&l_167,(void*)0,&l_167,&l_144,&l_167},{&g_199,&l_167,&l_144,&g_199,&g_199,&l_144,&l_167,&g_199},{&l_144,(void*)0,&l_144,&l_144,&g_199,&l_167,(void*)0,&l_167},{(void*)0,&l_167,(void*)0,&l_144,&l_144,&l_167,(void*)0,&l_167}},{{&l_167,(void*)0,&g_199,&l_144,&l_167,&l_144,&l_167,&g_199},{&l_167,&l_167,&l_144,&l_167,(void*)0,&l_167,&l_144,(void*)0},{&l_167,&l_144,&l_144,&g_199,&l_144,&g_199,&l_144,&l_144},{&l_167,&l_167,&l_167,(void*)0,(void*)0,&l_144,&l_167,&g_199}},{{(void*)0,&l_144,(void*)0,&l_167,&l_144,&l_144,&l_167,&l_144},{&l_144,&l_167,&g_199,&l_167,(void*)0,(void*)0,(void*)0,&g_199},{(void*)0,(void*)0,(void*)0,&g_199,&l_144,&g_199,&l_144,&g_199},{&l_167,&l_167,(void*)0,(void*)0,&l_167,&l_167,(void*)0,(void*)0}},{{&g_199,&g_199,(void*)0,&l_144,&l_167,(void*)0,&l_167,(void*)0},{&l_144,&l_167,&l_167,&l_144,&g_199,&l_144,&l_144,(void*)0},{&l_167,&l_167,&l_144,&l_144,(void*)0,&l_167,&l_144,(void*)0},{(void*)0,&g_199,&l_144,(void*)0,&l_167,&g_199,&l_167,&g_199}},{{&l_144,(void*)0,(void*)0,&g_199,&l_167,&l_167,&l_167,&g_199},{&l_144,&l_144,&l_144,&l_167,&l_144,&l_144,&l_144,&l_144},{&l_167,&g_199,&l_144,&l_167,&l_167,&g_199,&l_144,&l_167},{&l_167,(void*)0,&g_199,&l_144,&l_144,&l_144,&l_144,&l_144}},{{&l_144,&g_199,&g_199,&l_144,&l_167,&l_167,&l_167,&l_167},{&l_144,&l_144,&l_144,&l_167,&l_167,&g_199,&g_199,&l_167},{(void*)0,&l_144,&l_144,(void*)0,(void*)0,&l_167,(void*)0,&l_167},{&l_167,&l_144,&g_199,(void*)0,&g_199,(void*)0,&l_167,&l_167}}};
                        int8_t **l_667 = &g_199;
                        int8_t ***l_666[4] = {&l_667,&l_667,&l_667,&l_667};
                        int i, j, k;
                        l_669 = (l_665[0][3][2] == (l_668 = l_665[0][3][4]));
                    }
                    for (l_163 = 0; (l_163 == (-16)); l_163 = safe_sub_func_int16_t_s_s(l_163, 8))
                    { /* block id: 319 */
                        uint8_t *l_673 = &g_129[4][2];
                        uint8_t *l_674[1][8][8] = {{{&g_75,&g_75,&g_75,&g_75,&g_24,(void*)0,(void*)0,&g_24},{&g_75,&g_75,&g_75,&g_75,(void*)0,&g_75,&g_75,&g_24},{&g_75,&g_75,&g_75,&g_24,&g_75,&g_24,&g_24,&g_24},{&g_75,&g_75,&g_75,&g_75,&g_75,&g_75,&g_75,(void*)0},{&g_75,&g_75,&g_75,&g_75,&g_75,(void*)0,&g_75,&g_75},{&g_24,&g_75,&g_75,&g_75,&g_75,&g_24,&g_75,&g_75},{&g_75,&g_24,&g_75,(void*)0,&g_75,&g_75,&g_24,&g_75},{&g_75,&g_75,&g_75,(void*)0,&g_75,&g_75,&g_75,&g_75}}};
                        uint32_t * const ****l_678[5] = {&l_675,&l_675,&l_675,&l_675,&l_675};
                        int32_t l_684 = 0xA18850D7L;
                        uint16_t **l_686[7];
                        const int32_t **l_688 = &g_661[1];
                        int i, j, k;
                        for (i = 0; i < 7; i++)
                            l_686[i] = &l_685[0];
                        (*l_159) = (((4UL > ((((p_47 = ((*l_673) = (p_46 & (1L >= (~p_48))))) || (*g_199)) != ((g_679[0][2] = l_675) != &g_641)) | (l_684 != ((l_687 = l_685[0]) == &l_353)))) , p_48) , &l_639);
                        (*l_688) = (*g_662);
                        if (g_67)
                            goto lbl_689;
                    }
                    if (p_48)
                        continue;
                }
            }
            for (l_158 = 0; (l_158 != 5); l_158++)
            { /* block id: 333 */
                l_669 |= 0L;
                (**l_159) = p_46;
            }
        }
        else
        { /* block id: 337 */
            int8_t l_698 = 3L;
            int32_t l_700 = 5L;
            int32_t l_702 = 0xED8F0DA2L;
            int32_t l_703 = (-1L);
            int32_t l_706 = 0x2084F49DL;
            int32_t l_710 = (-1L);
            int32_t l_712 = 0L;
            int32_t l_720 = 0L;
            int64_t l_722 = 9L;
            int32_t l_723 = 0xD778DEB1L;
            int32_t l_728 = 0x1EF57D45L;
            int32_t l_731[2];
            uint8_t l_734 = 0x48L;
            int32_t *l_738 = (void*)0;
            uint8_t ***l_747 = &g_745;
            uint8_t l_749 = 0UL;
            uint32_t ***l_754 = (void*)0;
            int i;
            for (i = 0; i < 2; i++)
                l_731[i] = 0x95AB1E3FL;
            for (g_240 = 0; (g_240 <= 3); g_240 += 1)
            { /* block id: 340 */
                int32_t **l_693 = (void*)0;
                int32_t l_695 = 4L;
                int32_t l_696 = 0x2F4F9DFEL;
                int32_t l_697 = 0L;
                int32_t l_699 = 0L;
                int32_t l_701 = 0x856BA724L;
                int32_t l_704 = 0x9AD6B9B3L;
                int32_t l_709 = (-1L);
                int32_t l_711 = 0xEBE90EEEL;
                int32_t l_713 = 1L;
                int32_t l_715 = 0x194F416DL;
                int32_t l_716 = 1L;
                int64_t l_718[1][8][9] = {{{1L,0xFEC6FDD347EA0873LL,0xEDFAFBB24C73C6B4LL,0xEDFAFBB24C73C6B4LL,0xFEC6FDD347EA0873LL,1L,(-1L),0L,0xD9ED3817A37EC863LL},{5L,0xFEC6FDD347EA0873LL,(-8L),0xE2B7D67277B4650DLL,1L,(-1L),0xEDFAFBB24C73C6B4LL,0x73E96ABC1E3F01E6LL,0x73E96ABC1E3F01E6LL},{(-1L),0x246EAA77010D3246LL,(-1L),2L,(-1L),0x246EAA77010D3246LL,(-1L),0xEDFAFBB24C73C6B4LL,(-8L)},{0xFE3ECC965800AF33LL,0x73E96ABC1E3F01E6LL,(-1L),(-1L),2L,0xB48FD5ABD6348B6FLL,1L,0x246EAA77010D3246LL,1L},{0xEDFAFBB24C73C6B4LL,0xFE3ECC965800AF33LL,(-8L),0x246EAA77010D3246LL,0x246EAA77010D3246LL,(-8L),0xFE3ECC965800AF33LL,0xEDFAFBB24C73C6B4LL,0x9C0D1EFE2686E5EALL},{0xD9ED3817A37EC863LL,(-7L),0xEDFAFBB24C73C6B4LL,0x246EAA77010D3246LL,5L,0x9C0D1EFE2686E5EALL,0xFEC6FDD347EA0873LL,0x73E96ABC1E3F01E6LL,0xB48FD5ABD6348B6FLL},{0x9C0D1EFE2686E5EALL,0L,0xB48FD5ABD6348B6FLL,(-1L),0xD9ED3817A37EC863LL,(-1L),0xB48FD5ABD6348B6FLL,0L,0x9C0D1EFE2686E5EALL},{1L,(-1L),5L,2L,0xD9ED3817A37EC863LL,0xFEC6FDD347EA0873LL,(-7L),(-8L),1L}}};
                int32_t l_726 = (-3L);
                int64_t l_727 = 0xEB3F6E6DE36C41A3LL;
                int32_t l_730 = 0x4BE2E805L;
                int32_t l_732[5];
                int i, j, k;
                for (i = 0; i < 5; i++)
                    l_732[i] = 0x8ED8B120L;
                (*g_694) = l_692[0];
                ++l_734;
                return l_738;
            }
            if ((safe_sub_func_int8_t_s_s((((safe_mul_func_int16_t_s_s(((*l_160) &= (safe_add_func_int8_t_s_s((((*l_747) = g_745) == &g_746), ((~65534UL) >= l_749)))), ((l_708 |= (safe_mod_func_int64_t_s_s((((*l_167) = (**g_198)) <= ((((l_639 &= ((g_166 |= ((safe_mul_func_int32_t_s_s((l_754 != (l_755[1] = (*l_645))), (&g_198 != (void*)0))) > (**l_159))) > p_45)) ^ g_129[4][2]) <= p_48) || p_46)), 0x72FCE52A145D32A4LL))) || p_47))) && p_45) || 0x3D34F8C9134E41E0LL), p_46)))
            { /* block id: 352 */
                for (g_240 = (-17); (g_240 >= 43); g_240 = safe_add_func_uint64_t_u_u(g_240, 4))
                { /* block id: 355 */
                    int32_t *l_758[4] = {&l_703,&l_703,&l_703,&l_703};
                    int i;
                    l_758[3] = l_758[3];
                }
                return (*l_159);
            }
            else
            { /* block id: 359 */
                int32_t *l_759 = &l_163;
                return (*l_159);
            }
        }
    }
    --g_762;
    (*l_737) |= p_48;
    return &g_9;
}


/* ------------------------------------------ */
/* 
 * reads : g_64 g_65 g_66 g_67 g_69 g_75 g_63 g_80 g_70 g_9 g_129
 * writes: g_64 g_65 g_67 g_70 g_75 g_80 g_108 g_129
 */
static uint16_t  func_53(int32_t  p_54, int16_t  p_55, int32_t * p_56, int8_t  p_57)
{ /* block id: 3 */
    uint16_t l_62[10][7][3] = {{{0x7977L,0UL,65535UL},{0x73C0L,0x5DA1L,0x14F5L},{0UL,65535UL,0x9274L},{0x73C0L,0xF75DL,65535UL},{0x7977L,0xCBC8L,1UL},{9UL,65535UL,0x0F5FL},{0UL,0UL,0x6F0DL}},{{1UL,0x45A3L,65535UL},{0x9274L,65535UL,0x1F81L},{0x0F5FL,0x14F5L,1UL},{0xCBC8L,0x9274L,0x1F81L},{65526UL,65535UL,65535UL},{0x890AL,1UL,0x6F0DL},{8UL,0x0F5FL,0x0F5FL}},{{0UL,0x6F0DL,1UL},{65529UL,65535UL,65535UL},{1UL,0x1F81L,0x9274L},{0x45A3L,1UL,0x14F5L},{0x3319L,0x1F81L,65535UL},{0x5DA1L,65535UL,0x45A3L},{0UL,0x6F0DL,0UL}},{{65535UL,0x0F5FL,65535UL},{0x3196L,1UL,0xCBC8L},{0xB070L,65535UL,0xF75DL},{5UL,0x9274L,65535UL},{65535UL,0x14F5L,0x5DA1L},{5UL,65535UL,0UL},{0xB070L,0x45A3L,65526UL}},{{0x3196L,0UL,0x3319L},{65535UL,65535UL,65535UL},{0UL,0xCBC8L,0x5392L},{0x5DA1L,0xF75DL,65529UL},{0x3319L,65535UL,65535UL},{0x45A3L,0x5DA1L,65529UL},{1UL,0UL,0x5392L}},{{65529UL,65526UL,65535UL},{0UL,65535UL,65535UL},{1UL,1UL,0x0F5FL},{65535UL,65535UL,0x5392L},{0x0F5FL,1UL,0xB070L},{0x3196L,5UL,0x6F0DL},{65535UL,1UL,0x5DA1L}},{{0x7977L,65535UL,0x3196L},{65535UL,1UL,7UL},{65531UL,65535UL,65531UL},{65535UL,0x0F5FL,9UL},{0xCBC8L,0x5392L,0x9274L},{65531UL,0xB070L,65535UL},{0x5392L,0x6F0DL,0x7977L}},{{65531UL,0x5DA1L,65535UL},{0xCBC8L,0x3196L,0x3319L},{65535UL,7UL,65535UL},{65531UL,65531UL,65535UL},{65535UL,9UL,0x14F5L},{0x7977L,0x9274L,0UL},{65535UL,65535UL,0x73C0L}},{{0x3196L,0x7977L,0UL},{0x0F5FL,65535UL,0x14F5L},{65535UL,0x3319L,65535UL},{1UL,65535UL,65535UL},{0UL,65535UL,0x3319L},{0xF75DL,0x14F5L,65535UL},{0x3319L,0UL,0x7977L}},{{9UL,0x73C0L,65535UL},{65535UL,0UL,0x9274L},{0xB070L,0x14F5L,9UL},{0UL,65535UL,65531UL},{7UL,65535UL,7UL},{0UL,0x3319L,0x3196L},{0x45A3L,65535UL,0x5DA1L}}};
    int32_t *l_68 = &g_65;
    uint8_t *l_111 = &g_24;
    int32_t l_114[1];
    uint32_t l_122 = 1UL;
    int i, j, k;
    for (i = 0; i < 1; i++)
        l_114[i] = 8L;
    for (p_54 = (-25); (p_54 <= (-23)); ++p_54)
    { /* block id: 6 */
        uint16_t l_77 = 0xC010L;
        int32_t l_115[10][8] = {{0L,0x3AA3328DL,0L,0x7A6E463DL,0x7A6E463DL,0L,0x3AA3328DL,0L},{0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L,0x7A6E463DL,0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L},{0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L,0x7A6E463DL,0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL},{0L,0x7A6E463DL,0x7A6E463DL,0L,0x3AA3328DL,0L,0x7A6E463DL,0x7A6E463DL},{0x7A6E463DL,0x3AA3328DL,0x3AC17879L,0x3AC17879L,0x3AA3328DL,0x7A6E463DL,0x3AA3328DL,0x3AC17879L},{0L,0x3AA3328DL,0L,0x7A6E463DL,0x7A6E463DL,0L,0x3AA3328DL,0L},{0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L,0x7A6E463DL,0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L},{0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL,0x3AC17879L,0x7A6E463DL,0x4A0C5CC1L,0x4A0C5CC1L,0x7A6E463DL},{0L,0x7A6E463DL,0x7A6E463DL,0L,0x3AA3328DL,0L,0x7A6E463DL,0x7A6E463DL},{0x7A6E463DL,0x3AA3328DL,0x3AC17879L,0x3AC17879L,0x3AA3328DL,0x7A6E463DL,0x3AA3328DL,0x3AC17879L}};
        int32_t *l_116 = &l_114[0];
        int32_t *l_117 = &l_114[0];
        int32_t *l_118 = &l_114[0];
        int32_t *l_119 = &g_67;
        int32_t *l_120 = &l_115[4][4];
        int32_t *l_121[10][2] = {{(void*)0,&l_114[0]},{&l_114[0],&g_64},{&g_64,&l_114[0]},{&l_114[0],(void*)0},{&l_114[0],(void*)0},{&g_65,&g_65},{(void*)0,&l_114[0]},{&l_115[6][2],&l_114[0]},{(void*)0,&g_65},{&g_65,(void*)0}};
        int i, j;
        for (p_57 = 2; (p_57 >= 0); p_57 -= 1)
        { /* block id: 9 */
            const int32_t *l_73 = &g_67;
            int8_t *l_107 = &g_108;
            uint8_t **l_112 = &l_111;
            int32_t *l_113[10][5][5] = {{{&g_9,&g_64,&g_65,&g_64,&g_9},{&g_67,&g_67,(void*)0,&g_64,&g_9},{(void*)0,&g_65,&g_67,&g_65,&g_67},{&g_9,&g_65,&g_9,&g_64,&g_67},{&g_9,(void*)0,&g_9,&g_67,&g_9}},{{&g_65,&g_67,&g_67,(void*)0,&g_9},{&g_9,&g_67,&g_67,&g_65,&g_64},{&g_9,(void*)0,&g_64,&g_9,&g_9},{&g_64,&g_9,&g_67,(void*)0,(void*)0},{&g_65,(void*)0,&g_9,&g_67,(void*)0}},{{&g_64,&g_9,&g_9,&g_64,&g_64},{&g_64,&g_9,&g_65,&g_67,(void*)0},{(void*)0,&g_64,&g_65,&g_64,(void*)0},{(void*)0,&g_67,&g_65,&g_67,&g_65},{&g_65,(void*)0,(void*)0,&g_64,(void*)0}},{{&g_9,(void*)0,&g_65,&g_67,&g_67},{&g_65,&g_9,(void*)0,(void*)0,&g_9},{(void*)0,(void*)0,&g_9,&g_9,&g_65},{&g_67,&g_65,&g_64,&g_65,&g_64},{&g_67,&g_67,&g_64,(void*)0,&g_67}},{{&g_9,&g_9,&g_64,&g_67,&g_65},{&g_67,&g_65,&g_9,&g_64,&g_67},{&g_9,&g_9,&g_9,&g_65,&g_9},{&g_64,&g_9,&g_64,&g_64,&g_9},{&g_67,&g_9,&g_64,&g_64,(void*)0}},{{(void*)0,&g_64,&g_64,&g_67,&g_64},{&g_64,&g_67,&g_9,&g_9,&g_67},{&g_64,&g_65,(void*)0,&g_9,(void*)0},{&g_9,&g_65,&g_65,&g_64,&g_65},{&g_65,&g_65,(void*)0,&g_9,&g_64}},{{&g_9,&g_65,&g_65,&g_67,&g_64},{&g_67,&g_9,&g_65,&g_67,&g_67},{&g_67,&g_65,&g_65,&g_64,&g_9},{&g_64,&g_65,&g_9,&g_9,&g_67},{&g_65,&g_65,&g_9,&g_67,&g_64}},{{&g_9,&g_65,&g_67,&g_67,&g_9},{(void*)0,&g_64,(void*)0,&g_9,&g_65},{&g_9,&g_65,&g_65,&g_9,(void*)0},{&g_9,(void*)0,&g_64,&g_65,&g_64},{&g_9,&g_9,(void*)0,&g_9,&g_64}},{{&g_9,(void*)0,&g_64,&g_64,&g_65},{&g_9,(void*)0,&g_9,&g_9,(void*)0},{&g_9,&g_9,(void*)0,&g_67,&g_67},{&g_9,&g_9,&g_67,&g_65,&g_9},{&g_9,&g_64,&g_64,&g_67,&g_9}},{{(void*)0,&g_64,&g_67,&g_67,&g_9},{&g_67,&g_9,&g_9,&g_64,&g_67},{(void*)0,&g_9,&g_65,&g_9,(void*)0},{&g_64,&g_64,(void*)0,&g_65,(void*)0},{&g_67,&g_65,&g_67,&g_9,&g_9}}};
            int i, j, k;
            for (p_55 = 2; (p_55 >= 0); p_55 -= 1)
            { /* block id: 12 */
                uint8_t *l_74 = &g_75;
                int32_t *l_76 = (void*)0;
                uint32_t *l_79 = &g_80;
                uint8_t l_92[5] = {5UL,5UL,5UL,5UL,5UL};
                int i, j, k;
                for (g_64 = 0; (g_64 <= 2); g_64 += 1)
                { /* block id: 15 */
                    int i, j, k;
                    for (g_65 = 0; (g_65 <= 2); g_65 += 1)
                    { /* block id: 18 */
                        int i, j, k;
                        p_56 = p_56;
                        (*g_66) |= l_62[(p_55 + 2)][(p_55 + 3)][p_55];
                    }
                    (*g_69) = l_68;
                    return l_62[p_57][(p_55 + 3)][p_55];
                }
                l_77 = (safe_mul_func_int32_t_s_s((l_73 == (void*)0), (((*l_68) ^= l_62[(p_55 + 2)][p_57][p_55]) == (((*l_74) &= (*l_73)) ^ (g_63[3] & p_54)))));
                (*l_68) = (!((*l_79)++));
                (*g_70) = (((safe_mul_func_int16_t_s_s((((void*)0 != &p_56) < (*l_73)), (-1L))) && (safe_rshift_func_int8_t_s_s((+((0x0CEB71DEL > (safe_div_func_int16_t_s_s(g_64, (safe_lshift_func_uint8_t_u_u(g_64, 7))))) && (l_92[2] && ((safe_sub_func_uint16_t_u_u((l_62[(p_55 + 1)][(p_57 + 3)][p_57]++), (safe_add_func_int32_t_s_s(l_77, p_55)))) || 2UL)))), 2))) >= 0xEE7BL);
            }
            l_114[0] |= (safe_lshift_func_int8_t_s_u(((safe_mod_func_int8_t_s_s(((p_55 || 4294967295UL) , ((*l_107) = ((safe_mul_func_int16_t_s_s((-4L), (safe_lshift_func_uint32_t_u_u(g_65, p_54)))) <= p_57))), ((safe_rshift_func_uint16_t_u_u((((((*l_112) = l_111) != (void*)0) | ((g_9 ^ p_55) | (*l_73))) && l_77), 6)) || 0xF8C3L))) , 0xC3L), 0));
            l_115[6][2] &= (g_80 > l_77);
        }
        ++l_122;
        for (g_67 = (-3); (g_67 == 13); g_67 = safe_add_func_uint16_t_u_u(g_67, 1))
        { /* block id: 41 */
            int32_t **l_127 = &l_116;
            int8_t l_128 = (-8L);
            (*l_127) = (g_75 , p_56);
            ++g_129[4][2];
            (*l_118) |= (*l_68);
        }
    }
    return p_57;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_9, "g_9", print_hash_value);
    transparent_crc(g_24, "g_24", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_63[i], "g_63[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_64, "g_64", print_hash_value);
    transparent_crc(g_65, "g_65", print_hash_value);
    transparent_crc(g_67, "g_67", print_hash_value);
    transparent_crc(g_75, "g_75", print_hash_value);
    transparent_crc(g_80, "g_80", print_hash_value);
    transparent_crc(g_108, "g_108", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_129[i][j], "g_129[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_156, "g_156", print_hash_value);
    transparent_crc(g_157, "g_157", print_hash_value);
    transparent_crc(g_162, "g_162", print_hash_value);
    transparent_crc(g_166, "g_166", print_hash_value);
    transparent_crc(g_168, "g_168", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_222[i], "g_222[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_240, "g_240", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_259[i][j], "g_259[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_386[i], "g_386[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_453, "g_453", print_hash_value);
    transparent_crc(g_482, "g_482", print_hash_value);
    transparent_crc(g_683, "g_683", print_hash_value);
    transparent_crc(g_761, "g_761", print_hash_value);
    transparent_crc(g_762, "g_762", print_hash_value);
    transparent_crc(g_765, "g_765", print_hash_value);
    transparent_crc(g_772, "g_772", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_774[i], "g_774[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_808, "g_808", print_hash_value);
    transparent_crc(g_861, "g_861", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_879[i][j], "g_879[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_915, "g_915", print_hash_value);
    transparent_crc(g_1013, "g_1013", print_hash_value);
    transparent_crc(g_1081, "g_1081", print_hash_value);
    transparent_crc(g_1167, "g_1167", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 7; j++)
        {
            transparent_crc(g_1618[i][j], "g_1618[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1636, "g_1636", print_hash_value);
    transparent_crc(g_1721, "g_1721", print_hash_value);
    transparent_crc(g_1780, "g_1780", print_hash_value);
    transparent_crc(g_1812, "g_1812", print_hash_value);
    transparent_crc(g_1852, "g_1852", print_hash_value);
    transparent_crc(g_1936, "g_1936", print_hash_value);
    transparent_crc(g_2004, "g_2004", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 489
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 0
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 0
breakdown:
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 0
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 0
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0

XXX max expression depth: 45
breakdown:
   depth: 1, occurrence: 284
   depth: 2, occurrence: 67
   depth: 3, occurrence: 5
   depth: 4, occurrence: 1
   depth: 6, occurrence: 1
   depth: 7, occurrence: 1
   depth: 8, occurrence: 2
   depth: 10, occurrence: 1
   depth: 11, occurrence: 1
   depth: 14, occurrence: 2
   depth: 15, occurrence: 2
   depth: 16, occurrence: 3
   depth: 17, occurrence: 1
   depth: 18, occurrence: 6
   depth: 19, occurrence: 1
   depth: 20, occurrence: 3
   depth: 21, occurrence: 3
   depth: 22, occurrence: 2
   depth: 23, occurrence: 2
   depth: 25, occurrence: 1
   depth: 26, occurrence: 3
   depth: 27, occurrence: 2
   depth: 29, occurrence: 1
   depth: 30, occurrence: 1
   depth: 31, occurrence: 2
   depth: 32, occurrence: 3
   depth: 33, occurrence: 2
   depth: 35, occurrence: 1
   depth: 39, occurrence: 1
   depth: 42, occurrence: 1
   depth: 45, occurrence: 1

XXX total number of pointers: 459

XXX times a variable address is taken: 871
XXX times a pointer is dereferenced on RHS: 242
breakdown:
   depth: 1, occurrence: 190
   depth: 2, occurrence: 49
   depth: 3, occurrence: 3
XXX times a pointer is dereferenced on LHS: 259
breakdown:
   depth: 1, occurrence: 236
   depth: 2, occurrence: 22
   depth: 3, occurrence: 0
   depth: 4, occurrence: 0
   depth: 5, occurrence: 1
XXX times a pointer is compared with null: 36
XXX times a pointer is compared with address of another variable: 12
XXX times a pointer is compared with another pointer: 17
XXX times a pointer is qualified to be dereferenced: 7157

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 927
   level: 2, occurrence: 273
   level: 3, occurrence: 28
   level: 4, occurrence: 12
   level: 5, occurrence: 5
XXX number of pointers point to pointers: 166
XXX number of pointers point to scalars: 293
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 28.1
XXX average alias set size: 1.38

XXX times a non-volatile is read: 1487
XXX times a non-volatile is write: 767
XXX times a volatile is read: 63
XXX    times read thru a pointer: 0
XXX times a volatile is write: 24
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 1.74e+03
XXX percentage of non-volatile access: 96.3

XXX forward jumps: 1
XXX backward jumps: 7

XXX stmts: 269
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 30
   depth: 1, occurrence: 19
   depth: 2, occurrence: 33
   depth: 3, occurrence: 56
   depth: 4, occurrence: 60
   depth: 5, occurrence: 71

XXX percentage a fresh-made variable is used: 16
XXX percentage an existing variable is used: 84
********************* end of statistics **********************/

/* Compiler error! Can't compile with gcc -O3  -I/home/haoxin/haoxin-data/dut-research/csmith/runtime */
/* please refer to http://embed.cs.utah.edu/csmith/using.html on how to report a bug */
